CodeSeven / toastr

Simple javascript toast notifications
http://www.toastrjs.com
MIT License
11.9k stars 2.04k forks source link

Target class [toastr] does not exist. #699

Open nurnobishanto opened 1 year ago

nurnobishanto commented 1 year ago

Illuminate \ Contracts \ Container \ BindingResolutionException PHP 8.1.13 Laravel 10.1.0 Target class [toastr] does not exist. in cPanel but Localhost is working

aanimation commented 8 months ago

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