staysafe/password-policy-builder
最新稳定版本:1.0.0
Composer 安装命令:
composer require staysafe/password-policy-builder
包简介
A verbose password policy builder
README 文档
README
Install
Via Composer
$ composer require staysafe/password-policy-builder
Usage
$jsonConstraints = file_get_contents(dirname(__DIR__) . '/fixtures/policy.json'); $policy = new JsonPolicy($jsonConstraints); $passwordPolicyBuilder = new PasswordPolicyBuilder($policy); if ($passwordPolicyBuilder->isValid($password)) { // password meets the Password Policy }
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Credits
- Antonios Pavlakis
- [Peter Mead]
License
The BSD 3-Clause License. Please see License File for more information.
统计信息
- 总下载量: 66.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2019-10-28