PHP code example of mhfereydouni / unique-code-generator

1. Go to this page and download the library: Download mhfereydouni/unique-code-generator 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/ */

    

mhfereydouni / unique-code-generator example snippets


$uniqueCodeGenerator = new Mhfereydouni\UniqueCodeGenerator\UniqueCodeGenerator(7230323, 9006077);
echo $uniqueCodeGenerator
            ->characterList('LQJCKZMWDPTSXRGANYVBHF')
            ->outputLength(6)
            ->generate(4);

// output: QDWQGD