srmklive/dockernator

PHP port of name generator used by Docker Desktop to generate container names.

1.0 2023-08-28 10:14 UTC

This package is auto-updated.

Last update: 2024-10-28 12:54:36 UTC


README

PHP fork of the Docker Desktop name generator when provisioning containers.

Software License Latest Version on Packagist Total Downloads StyleCI Tests

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();