I was using laravel 5.4. When I tried to install a package I ran a command for composer update which leads to an error below (1/1)
Fatal Throwable Error Class 'Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider' not found
I was using laravel 5.4. When I tried to install a package I ran a command for composer update which leads to an error below (1/1)
Fatal Throwable Error Class 'Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider' not found
Check if it helps you because it had solved my issue.
Make sure you have the aliases and providers in config/app
and then make sure you update composer on the live server.
You also need the config file for file manager by running
php artisan vendor:publish --tag=lfm_config
php artisan vendor:publish --tag=lfm_public
The missing config file was my issue.
Or Try this, put this
Unisharp\Laravelfilemanager\LaravelFilemanagerServiceProvider::class
above the
App\Providers\RouteServiceProvider::class
in your providers