I can't install Sleeping Owl on Laravel 5.2.43.
Gives an error message

[Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method Illuminate\Foundation\Application::bindShared() 

Although I did everything according to the instructions . How to solve?

1 answer 1

The bindShared() method has bindShared() deprecated. Use singleton() . If it is used in SleepingOwl, then check to see if there is a new version or wait for it.

see upgrade documentation up to 5.2 , discussion on github , fork

upd: the package is officially abandoned. Use LaravelRUS / SleepingOwlAdmin

  • Can you tell me how to update the sleeping owl method? - asd
  • In general, you can find and replace, but this is bad, because it will fly off during the upgrade (although the author has not updated the package for 8 months) or will have to be kept in a turnip (and you shouldn’t do this with the vendor). - xEdelweiss
  • And what alternative admin packages do you recommend for laravel? - asd
  • I updated the answer. The author on the main advises github.com/LaravelRUS/SleepingOwlAdmin - xEdelweiss
  • Thank you, I installed the package from LaravelRus, the files were created, but now it gives Class' App \\ \\\\\\\\\\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ AdAnd found when going to pages asd