Download the PHP package lcherone/php-petname without Composer
On this page you can find all versions of the php package lcherone/php-petname. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package php-petname
PHP Petname
A utility to generate "pet names", consisting of a random combination of adverbs, an adjective, and an animal name.
Ported from: https://github.com/dustinkirkland/golang-petname to a static PHP class.
Install
Require this package with composer using the following command:
Example
<?php
require 'vendor/autoload.php';
use LCherone\PHPPetname as Petname;
// werewolf
echo Petname::Generate(1);
// peacefull-werewolf
echo Petname::Generate(2);
// peacefull mighty werewolf
echo Petname::Generate(3, ' ');
// peacefull-mighty-tough-werewolf
echo Petname::Generate(4);
Testing
Contributing
Please see CONTRIBUTING for details.
Credits
- Lawrence Cherone
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of php-petname with dependencies
PHP Build Version
Package Version
Requires
php Version
~5.6|~7.0
The package lcherone/php-petname contains the following files
Loading the files please wait ....