Open jartaud opened 9 years ago
Menus using database is coming soon :D
For laravel 5 you can use version 2.*@dev
.
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
Anything special for L5? Can't test it yet.