komatsu98/random-string

The package create random string created by Komatsu.

Maintainers

Package info

github.com/komatsu98/GenerateRandomString

Type:project

pkg:composer/komatsu98/random-string

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is not auto-updated.

Last update: 2026-03-29 14:04:02 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.