dllobell / nanoid-plugin
A Composer plugin for the dllobell/nanoid package
Fund package maintenance!
dllobell
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Type:composer-plugin
pkg:composer/dllobell/nanoid-plugin
Requires
- php: ^8.4
- composer-plugin-api: ^2.0
Requires (Dev)
- composer/composer: ^2.9
- eolica/coding-standard: ^2.0
- pestphp/pest: ^4.0
- phpstan/phpstan: ^2.0
- rector/rector: ^2.0
This package is auto-updated.
Last update: 2026-01-03 15:10:08 UTC
README
A Composer plugin for the dllobell/nanoid package that automatically generates an Alphabets enum implementing the AlphabetValue interface.
Installation
Install via Composer:
composer require dllobell/nanoid-plugin
Usage
This 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.
Manual Generation
You can also trigger the generation manually using the following command:
composer nanoid:generate-alphabets
License
The MIT License (MIT). See the license file for more information.