PHPackages                             coderjp/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. [Queues &amp; Workers](/categories/queues)
4. /
5. coderjp/notify

ActiveLibrary[Queues &amp; Workers](/categories/queues)

coderjp/notify
==============

Notifications for Laravel 5

0.0.4(10y ago)204501MITPHPPHP &gt;=5.4.0

Since May 21Pushed 10y ago2 watchersCompare

[ Source](https://github.com/coderjp/laravel-notify)[ Packagist](https://packagist.org/packages/coderjp/notify)[ RSS](/packages/coderjp-notify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Laravel Notify (Laravel 5 Package)
==================================

[](#laravel-notify-laravel-5-package)

Notifications for Laravel 5. This is a simple package that extends Illuminate MessageBag. It provides a simple interface for displaying notifications.

Please note, to show notifications on redirect this uses **session flashing**, therefore the messages are only stored for 1 page redirect, not indefinitely.

Installation
------------

[](#installation)

Require this package with composer using the following command:

```
composer require coderjp/notify

```

Add the service provider to the `providers` array in `config/app.php`

```
'Coderjp\Notify\NotifyServiceProvider',

```

Add the facade to the `aliases` array in `config/app.php`

```
'Notify'    => 'Coderjp\Notify\Facades\Notify',

```

Generate the config file for changing various settings. This can be found in `config/notify.php`.

```
php artisan vendor:publish --provider=Coderjp\\Notify\\NotifyServiceProvider

```

Configuration
-------------

[](#configuration)

To add your own message types, add them to the `types` array in `config/notify.php`. By default the options are `success, error, info`.

Usage
-----

[](#usage)

### Storing Notifications

[](#storing-notifications)

Notifications can be either be displayed on redirect or on the current page.

To store a notification so it is **displayed on the next redirect**, call the type like so

```
Notify::success('The user was added!');
Notify::error('There was a problem adding the user, Please try again');
Notify::info('The user\'s password was changed');
```

To store a notification so it is **displayed on the current page**, call the type like so

```
Notify::successNow('The user was added!');
Notify::errorNow('There was a problem adding the user, Please try again');
Notify::infoNow('The user\'s password was changed');
```

### Outputing Notifications

[](#outputing-notifications)

To output a certain type of notification

```
if (Notify::has('success')

        @foreach(Notify::get('success') as $message)
            {{ $message }}
        @endforeach

@endif
```

To output all/any

```
if (Notify::all())

        @foreach(Notify::all() as $message)
            {{ $message }}
        @endforeach

@endif
```

Contributions
-------------

[](#contributions)

If you feel that this project should do more, please open a pull request or open an issue for future improvements / functionality.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Total

4

Last Release

3980d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc859402a7996327f54b6a935ab749a4a47e7fffb4b77c9c9bb307cdbb0e6d19?d=identicon)[coderjp](/maintainers/coderjp)

---

Top Contributors

[![coderjp](https://avatars.githubusercontent.com/u/6319296?v=4)](https://github.com/coderjp "coderjp (2 commits)")

---

Tags

messagelaravelnotifyalert

### Embed Badge

![Health badge](/badges/coderjp-notify/health.svg)

```
[![Health](https://phpackages.com/badges/coderjp-notify/health.svg)](https://phpackages.com/packages/coderjp-notify)
```

###  Alternatives

[prologue/alerts

Prologue Alerts is a package that handles global site messages.

3486.1M30](/packages/prologue-alerts)[nahid/talk

Talk is a Laravel based realtime messaging, chatting and conversation system. It helps to develop users messaging, chatting and conversations in easy way.

1.6k58.1k4](/packages/nahid-talk)[baklysystems/laravel-chat-messenger

Laravel chat package

121.8k](/packages/baklysystems-laravel-chat-messenger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
