PHPackages                             pixxet/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. pixxet/notify

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

pixxet/notify
=============

Flexible flash notifications for Laravel

v1.0.0(5y ago)015MITPHPPHP &gt;=5.4.0

Since Nov 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/pixxet/notify)[ Packagist](https://packagist.org/packages/pixxet/notify)[ RSS](/packages/pixxet-notify/feed)WikiDiscussions main Synced 5d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Notify](./assets/notify.png)](./assets/notify.png)

Install
-------

[](#install)

Using Composer

```
composer require pixxet/notify

```

Add the service provider to `config/app.php`

```
Pixxet\Notify\NotifyServiceProvider::class,
```

Optionally include the Facade in `config/app.php` if you'd like.

```
'Notify' => Pixxet\Notify\Facades\Notify::class,
```

> Note, there is a notify() function available, so unless you really want to use the Facade, there's no need to include it.

Usage
-----

[](#usage)

### Basic

[](#basic)

From your application, call the `flash` method with a message and type.

```
notify()->flash('Welcome back!', 'success');
```

Within a view, you can now check if a flash message exists and output it.

```
@if (notify()->ready())

        {{ notify()->message() }}

@endif
```

> Notify is front-end framework agnostic, so you're free to easily implement the output however you choose.

### Options

[](#options)

You can pass additional options to the `flash` method, which are then easily accessible within your view.

```
notify()->flash('Welcome back!', 'success', [
    'timer' => 3000,
    'text' => 'It\'s really great to see you again',
]);
```

Then, in your view.

```
@if (notify()->ready())

        swal({
            title: "{!! notify()->message() !!}",
            text: "{!! notify()->option('text') !!}",
            type: "{{ notify()->type() }}",
            @if (notify()->option('timer'))
                timer: {{ notify()->option('timer') }},
                showConfirmButton: false
            @endif
        });

@endif
```

[![SweetAlert example](./assets/swal-example.png)](./assets/swal-example.png)

> The above example uses SweetAlert, but the flexibily of Notify means you can easily use it with any JavaScript alert solution.

Issues and contribution
-----------------------

[](#issues-and-contribution)

Just submit an issue or pull request through GitHub. Thanks!

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

2012d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48be3e770dee61df7b7aadd1049cb7179de9041805a9fce958367d12e6ec9cc2?d=identicon)[pixxet](/maintainers/pixxet)

### Embed Badge

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

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

###  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)
