lsflk/unique-uid

Unique User id generator

v1.2.4 2020-09-17 12:51 UTC

This package is auto-updated.

Last update: 2024-03-27 08:33:57 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

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

Installation

You can install the package via composer:

composer require lsflk/unique-uid

Usage

// 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

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.