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

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

bpocallaghan/notify
===================

Laravel 5 Flash Notifications with icons and animations and with a timeout

3.0.1(5y ago)3416.6k↓41.9%133MITPHPPHP &gt;=7.0.0

Since Apr 5Pushed 2y ago5 watchersCompare

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

READMEChangelog (8)DependenciesVersions (14)Used By (3)

Notify (Laravel)
================

[](#notify-laravel)

Notify alert boxes to the browser with sound and font awesome icons and give it a timeout to fly out. Works great to notify the user after a successful action (CRUD). Flash the information from Laravel or create multiple from javascript.

### Want to see the current package in action, have a look at the project.

[](#want-to-see-the-current-package-in-action-have-a-look-at-the-project)

#### [Laravel Starter Project (CMS)](https://github.com/bpocallaghan/titan-starter-website)

[](#laravel-starter-project-cms)

Documentation, Installation, and Usage Instructions
---------------------------------------------------

[](#documentation-installation-and-usage-instructions)

First, pull in the package through Composer.

```
"require": {
    "bpocallaghan/notify": "3.*"
}
```

OR

```
composer require bpocallaghan/notify
```

See the [documentation](DETAILED_INSTALLATION.md) for detailed installation and usage instructions.

### Laravel &lt;5.4 only (Laravel 5.5 has automatic package discovery)

[](#laravel-54-only-laravel-55-has-automatic-package-discovery)

Include the service provider within `config\app.php`.

```
'providers' => [
    Bpocallaghan\Notify\NotifyServiceProvider::class,
];
```

Add a facade alias or use the globel helper function `notify()`.

```
'aliases' => [
    'Notify' => Bpocallaghan\Notify\Facades\Notify::class,
];
```

Usage
-----

[](#usage)

Within any view file (preferable your master layout).

```
@include('notify::notify')
```

Within any Controller.

```
public function index()
{
    // helper function - default to the 'info'
    notify('Title', 'Description');

    // return object first
    notify()->info('Title', 'Description');

    // via the facade
    Notify::info('Title', 'Description');

    return view('home');
}
```

The different 'levels' are:

- `notify()->info('Title', 'Description');`
- `notify()->success('Title', 'Description');`
- `notify()->warning('Title', 'Description');`
- `notify()->error('Title', 'Description');`

The different arguments:

- `notify()->info('Title', 'Description', false);` // without the icon
- `notify()->info('Title', 'Description', 'smile-o');` // specify the icon class
- `notify()->message($level = 'info', $title, $content, $icon, $timeout = 5000)` // arguments
- `notify()->message('info', 'Title', 'Description', 'smile-o');` // specify the type of level
- `notify()->message('info', 'Title', 'Description', 'smile-o', 10000);` // specify the timeout

If you need to modify the view partial, you can run:

```
php artisan vendor:publish --provider="Bpocallaghan\Notify\NotifyServiceProvider" --tag=view
```

The view partial can be found here `resources\views\vendor\notify\notify.blade`.

You need to publish the assets.

```
php artisan vendor:publish --provider="Bpocallaghan\Notify\NotifyServiceProvider" --tag=public
```

Find the files here `public\vendor\notify\`. Move the mp3s to `public\sounds\`. If you use Laravel Elixir, move the css and js to your `resource\assets` and include them in your gulpfile.js, otherwise link to the individual files in your html header.

My other Packages
-----------------

[](#my-other-packages)

- [Flash a bootstrap alert](https://github.com/bpocallaghan/alert)
- [Laravel custom Generate Files with a config file and publishable stubs](https://github.com/bpocallaghan/generators)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 81.1% 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 ~227 days

Recently: every ~344 days

Total

11

Last Release

1787d ago

Major Versions

1.2 → 2.0.02016-04-02

2.1.1 → 3.0.02020-04-23

PHP version history (2 changes)1.0PHP &gt;=5.4.0

2.1.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7cc52fc6eaeee1d7cbb729f7b7e7fb570754f4d2bb57847e5753f4e1041b7124?d=identicon)[bpocallaghan](/maintainers/bpocallaghan)

---

Top Contributors

[![bpocallaghan](https://avatars.githubusercontent.com/u/883465?v=4)](https://github.com/bpocallaghan "bpocallaghan (43 commits)")[![ClaudiuDev](https://avatars.githubusercontent.com/u/8613302?v=4)](https://github.com/ClaudiuDev "ClaudiuDev (4 commits)")[![nadja97](https://avatars.githubusercontent.com/u/30344577?v=4)](https://github.com/nadja97 "nadja97 (4 commits)")[![elguitarraverde](https://avatars.githubusercontent.com/u/2836337?v=4)](https://github.com/elguitarraverde "elguitarraverde (2 commits)")

---

Tags

hacktoberfesthacktoberfest2022hacktoberfest2023laravellaravelnotificationsflashbootstrapnotify

### Embed Badge

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

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

###  Alternatives

[mouse0270/bootstrap-growl

This is a simple pluging that turns standard Bootstrap alerts into "Growl-like" notifications.

2.2k119.1k](/packages/mouse0270-bootstrap-growl)[edvinaskrucas/notification

Package for Laravel for helping to manage flash / instant notifications / messages.

520393.9k10](/packages/edvinaskrucas-notification)[arcanedev/notify

Flexible flash notifications helper for Laravel.

139.5k1](/packages/arcanedev-notify)[devmarketer/laraflash

A powerful and flexible flash notifications system. Improving over built-in Laravel Flash messaging functionality.

6310.3k1](/packages/devmarketer-laraflash)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.4k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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