minvws/horsebattery
最新稳定版本:v1.1.3
Composer 安装命令:
composer require minvws/horsebattery
包简介
A password generator inspired by https://xkcd.com/936/
README 文档
README
A password generator based on this XKCD comic. Provides a default word list in Dutch and will generate a password based on the wordlist and a given number of words.
May be expanded to include other locales in the future or configuration to allow for other word lists.
Requirements
- PHP >= 8.1
- Composer
Installation
- Install the package via composer:
composer require minvws/horsebattery
Usage
Generic usage
$generator = new HorseBattery(); $password = $generator->generate(4); // returns for instance: AandeelBijkomendeDereguleringHandelingen
Running tests
You can run the tests by issuing the following command:
$ composer run test
Contributing
If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository of this package.
License
This package is open-source and released under the European Union Public License version 1.2. You are free to use, modify, and distribute the package in accordance with the terms of the license.
统计信息
- 总下载量: 70.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: EUPL-1.2
- 更新时间: 未知