Closed Salon-sai closed 8 years ago
Same problem here.
I think v5.1 just doesn't support Laravel 5.0. Change your composer declaration to "edvinaskrucas/notification": "5.0.0"
and run composer update
.
@edvinaskrucas your composer.json in v5.1.0 needs to specify Laravel <= 5.1 not 5.0
thx to @atwright147 . laravel 5.0 require notification 5.0.0
Hey @Salon-sai,
Please re-open this issue. You have simply worked around the problem but the problem is still there. The composer.json file needs to be more specific.
Andy
I write the composer.json with
"edvinaskrucas/notification": "5.*"
and hit composer update.It is just ok, but when I register to use it and write
Krucas\Notification\NotificationServiceProvider::class, 'Notification' => Krucas\Notification\Facades\Notification::class
in app.php , the laravel5 throw the exception with Call to undefined method Illuminate\View\Compilers\BladeCompiler::directive()
If there is any problem it on my configuration? thank!