Generate correcthorsebatterystaple-type passwords with Faker via yuloh/battery-staple.
Via Composer
composer require geekish/faker-horse-battery-staple
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('.');
Please see CHANGELOG for more information what has changed recently.
composer test
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email hannahwarmbier@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.