PHPackages                             yoeunes/notify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. yoeunes/notify

Abandoned → [php-flasher/flasher-laravel](/?search=php-flasher%2Fflasher-laravel)ArchivedLibrary[Mail &amp; Notifications](/categories/mail)

yoeunes/notify
==============

toastr.js, pnotify.js flush notifications for Laravel 5, 6, 7, 8 and Lumen

v1.0.7(5y ago)099.5k↓47.6%5MITPHPPHP &gt;=7.0

Since Sep 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/yoeunes/notify)[ Packagist](https://packagist.org/packages/yoeunes/notify)[ Docs](https://github.com/yoeunes/notify)[ RSS](/packages/yoeunes-notify/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (11)Used By (0)

Notify notification package for Laravel
=======================================

[](#notify-notification-package-for-laravel)

👀 This package helps you to add notifications to your Laravel projects.

 [![Latest Stable Version](https://camo.githubusercontent.com/34886fc6e8843924d103fd6e810144f473bb393232fccb753e602823a092974c/68747470733a2f2f706f7365722e707567782e6f72672f796f65756e65732f6e6f746966792f762f737461626c65)](https://packagist.org/packages/yoeunes/notify) [![Latest Unstable Version](https://camo.githubusercontent.com/39f7959aa5a60245135eaae2086aaaa2bbfc4b099f67532d2b28e9db479f52c7/68747470733a2f2f706f7365722e707567782e6f72672f796f65756e65732f6e6f746966792f762f756e737461626c65)](https://packagist.org/packages/yoeunes/notify) [![Total Downloads](https://camo.githubusercontent.com/a29eee5f8f5e4824946154ce83d94ff5a9af7630b8a65843bd36c8814b42763d/68747470733a2f2f706f7365722e707567782e6f72672f796f65756e65732f6e6f746966792f646f776e6c6f616473)](https://packagist.org/packages/yoeunes/notify) [![License](https://camo.githubusercontent.com/2ca2abd486b0cadbdf77cc18a3789a92fd881706107e6681baf8810d8bf7191c/68747470733a2f2f706f7365722e707567782e6f72672f796f65756e65732f6e6f746966792f6c6963656e7365)](https://packagist.org/packages/yoeunes/notify)

[![notify](https://user-images.githubusercontent.com/10859693/39634578-1a9f121a-4fb3-11e8-8863-d64fad42901b.png)](https://user-images.githubusercontent.com/10859693/39634578-1a9f121a-4fb3-11e8-8863-d64fad42901b.png)

Install
-------

[](#install)

You can install the package using composer

```
$ composer require yoeunes/notify
```

Usage:
------

[](#usage)

Include jQuery and your notification plugin assets in your view template:

1. Add your styles links tag or `@notify_css`
2. Add your scripts links tags or `@notify_js`
3. Add `@notify_render` to render your notification
4. use `notify()` helper function inside your controller to set a toast notification for info, success, warning or error

```
// Display an info toast with no title
notify()->info('Are you the 6 fingered man?')
```

as an example:

```
