lorddashme/php-strong-password-generator
Composer 安装命令:
composer require lorddashme/php-strong-password-generator
包简介
A simple package that generate strong random characters that can be use for password.
README 文档
README
A simple package that generate strong random characters that can be use for password.
Requirement(s)
- PHP version from 5.6.* up to latest.
Install
via Composer
- Use the command below to install the package via composer:
composer require lorddashme/php-strong-password-generator
Usage
- Basic usage:
<?php include __DIR__ . '/vendor/autoload.php'; use LordDashMe\StrongPasswordGenerator\StrongPasswordGenerator; // Initialize the Strong Password Generator main class. $strongPasswordGenerator = new StrongPasswordGenerator(); // Set the character length output. $strongPasswordGenerator->length(25); // Execute the generation process function. $strongPasswordGenerator->generate(); // Get the generated output. $strongPasswordGenerator->get(); // "abcde12345..."
License
This package is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-12-14