Target class [toastr] does not exist.
nurnobishanto opened this issue · comments
Illuminate \ Contracts \ Container \ BindingResolutionException
PHP 8.1.13
Laravel 10.1.0
Target class [toastr] does not exist. in cPanel but Localhost is working
Add these items
Yoeunes\Toastr\ToastrServiceProvider::class,
Flasher\Laravel\FlasherServiceProvider::class,
to providers
and
'Toastr' => Yoeunes\Toastr\Facades\Toastr::class,
'Flasher' => Flasher\Laravel\Facade\Flasher::class,
to aliases
in config/app.php manually