mhfereydouni / unique-code-generator
This is my package unique-code-generator
Fund package maintenance!
mhfereydouni
Requires
- php: ^7.4|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- pestphp/pest: ^1.20
- spatie/ray: ^1.28
This package is auto-updated.
Last update: 2023-10-09 20:55:03 UTC
README
This is my package unique-code-generator
This package helps to generate codes which look like random strings. These codes can be used instead of your items ids to hide data.
Installation
You can install the package via composer:
composer require mhfereydouni/unique-code-generator
Usage
$uniqueCodeGenerator = new Mhfereydouni\UniqueCodeGenerator\UniqueCodeGenerator(7230323, 9006077); echo $uniqueCodeGenerator ->characterList('LQJCKZMWDPTSXRGANYVBHF') ->outputLength(6) ->generate(4); // output: QDWQGD
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.