geekish / faker-horse-battery-staple
Correct Horse Battery Staple password provider for Faker
2.0
2020-12-20 16:27 UTC
Requires
- php: ^7.1|^8.0
- fakerphp/faker: ^1.9
- yuloh/battery-staple: ^1.0
Requires (Dev)
- phpunit/phpunit: ^7.5.20 || ^8.5.8 || ^9.4.2
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2024-12-21 01:33:25 UTC
README
Generate correcthorsebatterystaple-type passwords with Faker via yuloh/battery-staple.
Install
Via Composer
composer require geekish/faker-horse-battery-staple
Usage
use Faker\Factory; use Geekish\FakerHorseBatteryStaple\BatteryStapleProvider; $faker = Factory::create(); $faker->addProvider(new BatteryStapleProvider($faker)); // no delimiter - e.g. correcthorsebatterystaple echo $faker->correctHorseBatteryStaple; // with "." as delimiter - e.g. correct.horse.battery.staple echo $faker->correctHorseBatteryStaple('.');
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email hannahwarmbier@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.