Download the PHP package saacsos/randomgenerator without Composer
On this page you can find all versions of the php package saacsos/randomgenerator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download saacsos/randomgenerator
More information about saacsos/randomgenerator
Files in saacsos/randomgenerator
Download saacsos/randomgenerator
More information about saacsos/randomgenerator
Files in saacsos/randomgenerator
Vendor saacsos
Package randomgenerator
Short Description Generate Random String by level and length
License MIT
Package randomgenerator
Short Description Generate Random String by level and length
License MIT
Please rate this library. Is it a good library?
Informations about the package randomgenerator
saacsos/randomgenerator
Laravel 5 Custom String Random Generator
Installation
Basic Usage
Level & Length
Level of strength
- 1 = number ([0-9])
- 2 = hexadecimal ([0-9a-f])
- 4 = lowercase (a-z except i,l,o)
- 8 = uppercase (A-Z except I,L,O)
- 16 = special character !@#$%^&*()_=[]{}?, Combine level for complex password
- 5 = 1 + 4 = number + lowercase
- 13 = 1 + 4 + 8 = number + lowercase + uppercase
- 29 = 1 + 4 + 8 + 16 = number + lowercase + uppercase + special character
Default level = 13, Default length = 8
isMatch($string, $strict=false)
Validate if $string match the level or not Strict mode will check $string must has at least 1 character in its level
Laravel 5 Service Provider and Facades
Add your new provider to the providers
array of config/app.php
:
Add class alias to the aliases
array of config/app.php
:
And you can use
All versions of randomgenerator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package saacsos/randomgenerator contains the following files
Loading the files please wait ....