alexsoft/laravel-hashids

This package is abandoned and no longer maintained. No replacement package was suggested.

Add laravel facade for using hashids/hashids

v2.0.0 2015-04-08 11:32 UTC

This package is not auto-updated.

Last update: 2019-01-11 10:23:22 UTC


README

Installation

First install it using Composer. Edit your project's composer.json file to require alexsoft/laravel-hashids.

Laravel ~ 5.0

"require": {
    "alexsoft/laravel-hashids": "~2.0.0"
}

Laravel ~ 4.1

"require": {
    "alexsoft/laravel-hashids": "~1.2.0"
}

Next, update Composer from the Terminal:

composer update

Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.

'Alexsoft\LaravelHashids\LaravelHashidsServiceProvider'

Also add a class alias.

'Hashids' => 'Alexsoft\LaravelHashids\Facades\Hashids'

That's it! You're all set to go.