Download the PHP package kallbuloso/notify without Composer
On this page you can find all versions of the php package kallbuloso/notify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kallbuloso/notify
More information about kallbuloso/notify
Files in kallbuloso/notify
Package notify
Short Description toastr.js, pnotify.js flush notifications for Laravel 5, 6, 7 and Lumen
License MIT
Homepage https://github.com/kallbuloso/notify
Informations about the package notify
Notify notification package for Laravel 5 and Lumen
:eyes: This package helps you to add notifications to your Laravel 5 and Lumen projects.

Install
You can install the package using composer
Then add the service provider to config/app.php. In Laravel versions 5.5 and beyond, this step can be skipped if package auto-discovery is enabled.
As optional if you want to modify the default configuration, you can publish the configuration file:
For Lumen :
- In
bootstrap/app.php- uncomment
$app->withFacades(); - add bindings for ToastrServiceProvider :
$app->register(kallbuloso\Notify\NotifyServiceProvider::class);
- uncomment
- Add
config/session.php, since it is not present inLumenby default. You can takesession.phpfrom Laravel Official Repository
Usage:
Include jQuery and your notification plugin assets in your view template:
- Add your styles links tag or
@notify_css - Add your scripts links tags or
@notify_js - Add
@notify_renderto render your notification - use
notify()helper function inside your controller to set a toast notification for info, success, warning or error
as an example:
After that add the @notify_render at the bottom of your view to actualy render the notify notifications.
Other Options
other api methods:
// You can also chain multiple messages together using method chaining
configuration:
Credits
- Younes Khoubza
- All Contributors
License
MIT
All versions of notify with dependencies
illuminate/session Version ^5.5 || ^6.0 || ^7.0
illuminate/support Version ^5.5 || ^6.0 || ^7.0


