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

pkg:composer/komatsu98/random-string

dev-master 2018-08-29 08:48 UTC

This package is not auto-updated.

Last update: 2025-12-07 12:30:04 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.