PHPackages                             lloople/laravel-notificator - 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. lloople/laravel-notificator

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

lloople/laravel-notificator
===========================

Attach objects to notification's session flashed variable

v1.6.0(8y ago)214921MITPHPPHP &gt;=7.1

Since Apr 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Lloople/laravel-notificator)[ Packagist](https://packagist.org/packages/lloople/laravel-notificator)[ RSS](/packages/lloople-laravel-notificator/feed)WikiDiscussions master Synced yesterday

READMEChangelog (8)Dependencies (3)Versions (15)Used By (1)

Laravel Notificator
===================

[](#laravel-notificator)

Simple session flashing messages manager for Laravel

Notifications are stored in Laravel's session flash input, keyed by `notifications`

### Create a notification

[](#create-a-notification)

```
Notificator::success('This is a success notification');

```

You can choose between 4 types

- `success`
- `info`
- `error`
- `warning`

### Print a notification

[](#print-a-notification)

```
@foreach(Notificator::all() as $notification)
