PHP code example of nokitakaze / randomstring

1. Go to this page and download the library: Download nokitakaze/randomstring library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nokitakaze / randomstring example snippets



use \NokitaKaze\RandomString\RandomString;

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