geekish / faker-horse-battery-staple
Faker的Correct Horse Battery Staple密码提供者
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-09-21 00:59:40 UTC
README
使用Faker和yuloh/battery-staple生成correcthorsebatterystaple类型的密码。
安装
通过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('.');
变更日志
有关最近更改的更多信息,请参阅CHANGELOG。
测试
composer test
贡献
有关详细信息,请参阅CONTRIBUTING和CONDUCT。
安全
如果您发现任何与安全相关的问题,请通过电子邮件hannahwarmbier@gmail.com联系,而不是使用问题跟踪器。
鸣谢
许可证
MIT许可证(MIT)。有关更多信息,请参阅许可证文件。