To generate a Unique UID with given charactor set.You can increase the size of the digits. Even thougt I adivce you to test you self before implement this packge.We have tested over continues
You can install the package via composer:
composer require lsflk/unique-uid
// Unique Id with 9 digits lenght and splited in to three segments
UniqueUid::getUniqueAlphanumeric(9,3)
// To check a valid ID
UniqueUid::isValidUniqeId('YMG-RYC-XF7');
//this will return a boolen value
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
This package was generated using the PHP Package Boilerplate.