1. Go to this page and download the library: Download ppabcd/helpers 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/ */
Str::random(); // Default is alnum
Str::random(18,'alnum'); //Alnum result
Str::random(18,'alpha'); //Alpha result
Str::random(18,'numeric'); //Numeric result
Str::random(18,'md5'); //MD5 result
Str::random(18,'hex'); //Hex result
Str::random(18,'binary'); //Binary result