srmklive / dockernator
PHP port of name generator used by Docker Desktop to generate container names.
1.0
2023-08-28 10:14 UTC
Requires
- php: ^8.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^8.0|^9.0|^10.0
- symfony/var-dumper: ~5.0
README
PHP fork of the Docker Desktop name generator when provisioning containers.
Installation
The package can be installed through Composer:
composer require srmklive/dockernator <a name="usage"></a> ## Usage ```php // Import the class namespaces first, before using it directly use Srmklive\Dockernator\Generator as NameGenerator; $provider = new NameGenerator; // Generate a random beautiful name $name = $generator->generate();