nokitakaze/randomstring

Random string generating

v0.2.1 2017-10-07 10:22 UTC

This package is not auto-updated.

Last update: 2024-10-27 03:52:31 UTC


README

Current status

General

Build Status Scrutinizer Code Quality Code Coverage

HHVM Version

Build Status Scrutinizer Code Quality Code Coverage

Usage

At first

composer require nokitakaze/randomstring

And then

require_once 'vendor/autoload.php';
use \NokitaKaze\RandomString\RandomString;

$random_string1 = new RandomString::generate(10);
$random_string2 = new RandomString::generate(10, 
    RandomString::INCLUDE_NUMERIC | RandomString::INCLUDE_UPPER_LETTERS);