PHPackages                             arthurguy/notifications - 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. arthurguy/notifications

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

arthurguy/notifications
=======================

Notifications

1.0.0(10y ago)0774MITPHPPHP &gt;=5.4.0

Since Jun 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ArthurGuy/Notifications)[ Packagist](https://packagist.org/packages/arthurguy/notifications)[ RSS](/packages/arthurguy-notifications/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Notifications
=============

[](#notifications)

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

[](#installation)

First, pull in the package through Composer.

```
"require": {
    "arthurguy/notifications": "~1.0"
}
```

And then, if using Laravel 5, include the service provider within `app/config/app.php`.

```
'providers' => [
    'ArthurGuy\Notifications\NotificationServiceProvider'
];
```

And, for convenience, add a facade alias to this same file at the bottom:

```
'aliases' => [
    'Flash' => 'ArthurGuy\Notifications\NotificationFacade'
];
```

Usage
-----

[](#usage)

Within your controllers, before you perform a redirect...

```
public function store()
{
    Notification::message('Welcome Aboard!');

    return Redirect::home();
}
```

You may also do:

- `Notification::info('Message')`
- `Notification::success('Message')`
- `Notification::error('Message')`
- `Notification::warning('Message')`

Again, if using Laravel, this will set a few keys in the session:

- 'flash\_notification.message' - The message you're flashing
- 'flash\_notification.details' - A MessageBag object, ideal for field error messages
- 'flash\_notification.level' - A string that represents the type of notification (good for applying HTML class names)

Alternatively, again, if you're using Laravel, you may reference the `flash()` helper function, instead of the facade. Here's an example:

```
/**
 * Destroy the user's session (logout).
 *
 * @return Response
 */
public function destroy()
{
    Auth::logout();

    notification()->success('You have been logged out.');

    return home();
}

```

Or, for a general information flash, just do: `notification('Some message');`.

With this message flashed to the session, you may now display it in your view(s). Maybe something like:

```
@if (Session::has('flash_notification.message'))

        &times;

        {{ Session::get('flash_notification.message') }}

@endif
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.6% 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

Unknown

Total

1

Last Release

3989d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/03137fa9599372e5cb2e39286b1e720acb03a627ed0ff49d19fdb068f8b54e1d?d=identicon)[ArthurGuy](/maintainers/ArthurGuy)

---

Top Contributors

[![JeffreyWay](https://avatars.githubusercontent.com/u/183223?v=4)](https://github.com/JeffreyWay "JeffreyWay (15 commits)")[![ArthurGuy](https://avatars.githubusercontent.com/u/92837?v=4)](https://github.com/ArthurGuy "ArthurGuy (8 commits)")[![quickliketurtle](https://avatars.githubusercontent.com/u/1762128?v=4)](https://github.com/quickliketurtle "quickliketurtle (2 commits)")[![kezadias](https://avatars.githubusercontent.com/u/5727111?v=4)](https://github.com/kezadias "kezadias (1 commits)")[![thoresuenert](https://avatars.githubusercontent.com/u/382395?v=4)](https://github.com/thoresuenert "thoresuenert (1 commits)")[![vinkla](https://avatars.githubusercontent.com/u/499192?v=4)](https://github.com/vinkla "vinkla (1 commits)")

### Embed Badge

![Health badge](/badges/arthurguy-notifications/health.svg)

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

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[illuminate/mail

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)

PHPackages © 2026

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