PHP code example of d3vy / unique-hash

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

    

d3vy / unique-hash example snippets


$hash = \sbolch\UniqueHash\HashGenerator::get();      // random hash with length of 32 characters
$hash = \sbolch\UniqueHash\HashGenerator::get(12);	// random hash with length of 12 characters