Encoding and decoding integer in 6-character hash
, (*1)
Installation
To get the latest version of HashInt simply require it in your composer.json file., (*2)
"itlogic/hash-int": "dev-master",
You'll then need to run composer update to download it and have the autoloader updated., (*3)
Once this operation completes, open app/config/app.php, and add a new item to the providers array., (*4)
'providers' => array(
'ItLogic\HashInt\HashIntServiceProvider',
)
You can register the facade in the aliases key of your app/config/app.php file., (*5)
'aliases' => array(
'HashInt' => 'ItLogic\HashInt\Facades\HashInt',
)