visus/cuid2
PHP CUID2 generator for collision-resistant, secure, URL-safe IDs built for distributed systems. Uses SHA3-512 with time and entropy for scalable uniqueness. Supports instance or static usage plus identifier validation; GMP can improve performance.
markrogoyski/math-php dependency - replaced with pure PHP implementationCUID Generation:
Fingerprint Refactor:
__clone, __wakeup) to prevent misuseCounter Improvements:
Random\Randomizer with Secure engineBase Conversion:
Utils class with optimized base36 conversion algorithmCONTRIBUTING.md with development guidelinesREADME.md with improved documentationFull Changelog: https://github.com/visus-io/php-cuid2/compare/5.2.0...6.0.0
[!NOTE] The new
Cuid2::isValid()method only guarantees that the value follows CUID2 format, it does not guarantee that it is actually a CUID2.
Full Changelog: https://github.com/visus-io/php-cuid2/compare/5.1.1...5.2.0
Full Changelog: https://github.com/visus-io/php-cuid2/compare/5.1.0...5.1.1
Fingerprint will now take environment variables into account when generating a fingerprint.Full Changelog: https://github.com/visus-io/php-cuid2/compare/5.0.0...5.1.0
Full Changelog: https://github.com/visus-io/php-cuid2/compare/4.1.0...5.0.0
Fingerprint class has been refactored to align with the implementation in cuid.netCuid2 class to ensure that the hashing algorithm sha3-512 is supported, otherwise it'll throw an \ExceptionNote: Fingerprint generation no longer relies on $_SERVER variables containing IP addresses. This should alleviate any GDPR/CCPA concerns.
Full Changelog: https://github.com/visus-io/php-cuid2/compare/4.0.0...4.1.0
Apache-2.0 to MITFull Changelog: https://github.com/visus-io/php-cuid2/compare/3.0.0...4.0.0
2.x release if PHP 8.0 support is still required.Full Changelog: https://github.com/visus-io/php-cuid2/compare/2.0.0...3.0.0
Xaevik to Visus to reflect change in ownership.Full Changelog: https://github.com/visus-io/php-cuid2/compare/1.7.0...2.0.0
How can I help you explore Laravel packages today?