luminaire / hashid
Package to bridge Hashids/Hashids with Laravel 5.1
0.1.1
2015-12-15 09:50 UTC
Requires
- hashids/hashids: 1.0.5
- illuminate/support: 5.1.*
This package is not auto-updated.
Last update: 2024-11-21 21:11:17 UTC
README
Installation
Require this package, with Composer, in the root directory of your project.
composer require luminaire/hashid
Add the service provider to config/app.php
in the providers array.
Luminaire\Hashid\HashidsServiceProvider::class
If you want you can use the facade. Add the reference in config/app.php
to your aliases array.
'Hashid' => 'Luminaire\Hashid\Facades\Hashid'
Configuration
php artisan vendor:publish
Configure as necessary, APP_KEY shouldn't be change though after encoding once.