komatsu98 / random-string
The package create random string created by Komatsu.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.4
Requires (Dev)
- phpunit/phpunit: 5.2.*
This package is not auto-updated.
Last update: 2025-05-11 09:32:53 UTC
README
Generate random string with given length, types of characters.
Features
- Function generateString($length, $has_lower, $has_upper, $has_number, $has_special_character) with parameters: length - positive integer and 4 followed boolean data params. e.g: generateString("10",true, false, true, false) return a 10-character random string with lower characters, numbers, and special characters combined.