pingpong-labs / menus

Laravel 5 Menus
https://pingpong-labs.github.io/docs/menus.html
BSD 3-Clause "New" or "Revised" License
68 stars 42 forks source link

Laravel 5 #13

Open jartaud opened 9 years ago

jartaud commented 9 years ago

Anything special for L5? Can't test it yet.

gravitano commented 9 years ago

Menus using database is coming soon :D

gravitano commented 9 years ago

For laravel 5 you can use version 2.*@dev.

TheTechnoMan commented 9 years ago

There are many issues with the L5 version. First of all you need to have the menus.php file in App/Support not just in App. I also had to add $this->requireMenusFile(); to the boot function of the MenuServiceProvider. After that, I get Class 'Pingpong\Menus\Facades\Menu' not found. After changing that to the MenuFacade I get another error.

Argument 1 passed to Pingpong\Menus\MenusServiceProvider::{closure}() must be an instance of Pingpong\Menus\Builder, instance of Pingpong\Menus\MenuBuilder given, called in C:\Users\Michael\Documents\Github\XXXX\vendor\pingpong\menus\Menu.php on line 55

Can you please take a look at that?

Thanks