Skip to content

A Composer plugin for the dllobell/nanoid package

License

Notifications You must be signed in to change notification settings

dllobell/php-nanoid-plugin

Repository files navigation

Nano ID Composer Plugin

Total Downloads Latest Stable Version License PHP Minimum Version

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.

About

A Composer plugin for the dllobell/nanoid package

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Languages