galvao/random-string
Composer 安装命令:
composer require galvao/random-string
包简介
A Random String generator based on character classes, with the possibility of excluding specific characters.
关键字:
README 文档
README
A Random String generator based on character classes, with the possibility of excluding specific characters.
END OF LIFE
As of PHP7 there are far better (and native!) ways of generating random data. Please check http://php.net/manual/en/ref.csprng.php
This repo will remain as example material.
Usage
<?php use RandomString\RandomString; // Generates a 12 character string with lowercase letters and symbols, excluding the backslash and pipe chracters. $str = new RandomString(12, array('lowerCase', 'symbols'), array('\\', '|')); echo $str->result;
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD
- 更新时间: 2015-08-30