A Composer plugin for the dllobell/nanoid package that automatically generates an Alphabets enum implementing the AlphabetValue interface.
Install via Composer:
composer require dllobell/nanoid-pluginThis plugin automatically generates an Alphabets enum whenever you run composer install, update, or dump-autoload.
For detailed information on how to use the generated alphabets and how to define your own custom sets in composer.json, please refer to the Automatic generation section in the main package documentation.
You can also trigger the generation manually using the following command:
composer nanoid:generate-alphabetsThe MIT License (MIT). See the license file for more information.