Optimus
AntiXSS
Optimus | AntiXSS | |
---|---|---|
2 | 1 | |
1,254 | 662 | |
- | - | |
0.0 | 3.1 | |
over 1 year ago | 7 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Optimus
-
PostgreSQL UUID vs. Serial vs. Identity
Yes, I completely forgot about it. I used it a few years ago, I tried also [1] which is integers instead of strings.
[1] https://github.com/jenssegers/optimus
-
API: external UUID to internal ID in validation or controller or ?
To obfuscate id there are several solutions, other than the already mentioned hashids you can try this one https://github.com/jenssegers/optimus
AntiXSS
What are some alternatives?
HTML Purifier - Standards compliant HTML filter written in PHP
PHP Encryption - Simple Encryption in PHP.
PHP IDS - PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application
PHP SSH - An experimental object oriented SSH api in PHP
PHPSecLib - PHP Secure Communications Library
Themis - Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.
True Random - Fetches random integers from random.org instead of using PHP's PRNG implementation
SensioLabs Security Check - A database of PHP security advisories
hashids - A small PHP library to generate YouTube-like ids from numbers. Use it when you don't want to expose your database ids to the user.
ZAP - The ZAP core project