-
Notifications
You must be signed in to change notification settings - Fork 28
Laravel Support
Zach Leigh edited this page Apr 24, 2016
·
4 revisions
Limelight comes with a Laravel service provider and facade to make integrating Limelight into a Laravel 5 application a breeze.
In Laravel's config/app.php file, add the service provider to the array with the 'providers' key.
'Limelight\Providers\Laravel\LimelightServiceProvider'
For the facade, register it in the array with the key 'aliases'.
'Limelight' => 'Limelight\Providers\Laravel\Limelight'
Export the Limelight config file to your Laravel app /config directory using artisan.
php artisan vendor:publish --provider="Limelight\Providers\Laravel\LimelightServiceProvider"