PHP code example of lagan / property-hashid
1. Go to this page and download the library: Download lagan/property-hashid 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/ */
lagan / property-hashid example snippets
[
'name' => 'uid',
'description' => 'U.I.D.',
'autovalue' => true,
'salt' => 'some salt to make the hasid unique',
'padding' => 10,
'alphabet' => 'abcdefghABCDEFGH',
'type' => '\Lagan\Property\Hashid',
'input' => 'readonly'
]