serverfireteam / panel

An easily configurable admin panel for Laravel applications.
MIT License
427 stars 144 forks source link

Laravel 5.4 - Removed share method and replaced with singleton method. #329

Closed norozap closed 7 years ago

norozap commented 7 years ago

Had issues with installation in a fresh laravel 5.4, I fixed it as per the following...

From Laravel 5.4 Upgrade: https://laravel.com/docs/5.4/upgrade

The share method has been removed from the container. This was a legacy method that has not been documented in several years. If you are using this method, you should begin using the singleton method instead:

$container->singleton('foo', function () { return 'foo'; });

AlirezaAlgo commented 7 years ago

Thank you for great work