mohamednizar/moe-uuid

Unique User id generator

1.7-beta 2020-05-14 07:09 UTC

This package is auto-updated.

Last update: 2024-12-07 14:57:42 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

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.

Installation

You can install the package via composer:

composer require mohamednizar/moe-uuid

Usage

  • 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

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email nizarucsc@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.