nokitakaze / randomstring
Random string generating
Installs: 1 734
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- php: ^5.4.0 | >=7.0.9
Requires (Dev)
- phpbench/phpbench: ^0.13.0
- phpunit/phpunit: ^6.0 | ^5.7
Conflicts
- hhvm: *
This package is not auto-updated.
Last update: 2024-10-27 03:52:31 UTC
README
Current status
General
HHVM Version
Usage
At first
composer require nokitakaze/randomstring
And then
require_once 'vendor/autoload.php'; use \NokitaKaze\RandomString\RandomString; $random_string1 = new RandomString::generate(10); $random_string2 = new RandomString::generate(10, RandomString::INCLUDE_NUMERIC | RandomString::INCLUDE_UPPER_LETTERS);