xdev / randomize
Support random number, string, array, list
1.0.1
2021-03-18 16:19 UTC
Requires
- php: >= 7.3
- phpunit/phpunit: ^9.5
README
This package will random number, string and element in the specific array.
Requirements
PHP >= 7.3
Composer > 1.0
How to use
run by composer
composer require xdev/randomize
Add package to your code
use Xdev\Support\Randomize\Random
call class Random and use static method
Methods
randomNumber ($min,$max):int
param | type |
min | integer |
max | integer |
param | type |
length | integer |
param | type |
neededArray | array |
License
MIT
Author
Kiden Snapter, Duy Lucas