luminaire/hashid

Package to bridge Hashids/Hashids with Laravel 5.1

0.1.1 2015-12-15 09:50 UTC

This package is not auto-updated.

Last update: 2024-05-09 18:45:34 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.