1. Go to this page and download the library: Download damess/zf2-hashids 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/ */
return array(
'hashids' => array(
/*
* The salt to use for encryption
* NOTE: Do not change this once it's been set
*/
'salt' => '',
/*
* Minimum length of the generated hash
*/
'min_length' => 22,
/*
* Define which characters are used when building the hash
*/
'alphabet' => 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890',
),
);