xdev / randomize
Support random number, string, array, list
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
pkg:composer/xdev/randomize
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