Skip to content
Shea Lewis edited this page Aug 3, 2015 · 4 revisions

Begin by installing the package through Composer. Depending on what version of Laravel you are using (5.0 or 5.1), you'll want to pull in the ~1.0 or ~2.0 release, respectively:

Laravel 5.0.x

composer require caffeinated/menus=~1.0

Laravel 5.1.x

composer require caffeinated/menus=~2.0

Once this operation is complete, simply add the service provider class and facade alias to your project's config/app.php file:

Laravel 5.0.x

Service Provider
'Caffeinated\Menus\MenusServiceProvider',
Facade
'Menu' => 'Caffeinated\Menus\Facades\Menu',

Laravel 5.1.x

Service Provider
Caffeinated\Menus\MenusServiceProvider::class,
Facade
'Menu' => Caffeinated\Menus\Facades\Menu::class,

And that's it! With your coffee in reach, start building out some awesome menus!