edvinaskrucas / notification

Notification package for Laravel
MIT License
526 stars 98 forks source link

these are some problems to config in laravel5 #65

Closed Salon-sai closed 8 years ago

Salon-sai commented 8 years ago

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!

in the issue of #64 @atwright147 give the suggestion

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

he ask to re-open the issue because the problem is still there. The composer.json file needs to be more specific.

atwright147 commented 8 years ago

@edvinaskrucas your composer.json in v5.1.0 needs to specify Laravel < 5.1 not 5.0