This packe will generate a unique user in 7 types of digits. 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 1 Million ID
.
You can install the package via composer:
composer require mohamednizar/moe-uuid
- Type 1: 25^4 IDs
MoeUuid::getUniqueAlphanumeric(1); Output :
D8DR
F7D2
- Type 2: 25^6 IDs
MoeUuid::getUniqueAlphanumeric(2); Output :
QTK-GQM
QRR-CYY
- Type 3: 25^8 IDs
MoeUuid::getUniqueAlphanumeric(3); Output :
QVPV-KKPW
GRHT-8RKQ
- Type 4: 25^9 IDs
MoeUuid::getUniqueAlphanumeric(4); Output :
W7R-32J-MYX
MRM-H2B-PPV
- Type 5: 25^12 IDs
MoeUuid::getUniqueAlphanumeric(5); Output :
X4H2-H4Y2-XVTX
TTRB-KDXM-YVHQ
- Type 6: 25^14 IDs
MoeUuid::getUniqueAlphanumeric(6); Output :
3WD6-KDYT-DX72-JK
D6P3-MG44-C9MY-7T
- Type 7: 25^16 IDs
MoeUuid::getUniqueAlphanumeric(7); Output :
TMPG-GFYB-KYCT-B6B2
VG4H-DWP7-BQHF-C2BJ
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.