-
-
Notifications
You must be signed in to change notification settings - Fork 461
Installation
Shipu Ahamed edited this page Sep 3, 2016
·
1 revision
First, you'll need to install the package via Composer:
$ composer require cviebrock/eloquent-sluggable:^4.0
NOTE: Eloquent-Sluggable uses traits and requires Laravel 5.1 or later, so you will need to be running PHP 5.5.9 or higher.
Then, update config/app.php
by adding an entry for the service provider.
'providers' => [
// ...
Cviebrock\EloquentSluggable\ServiceProvider::class,
];
Finally, from the command line again, publish the default configuration file:
php artisan vendor:publish --provider="Cviebrock\EloquentSluggable\ServiceProvider"