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

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

ghanem/notify
=============

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

v1.01(9y ago)3241MITCSSPHP &gt;=5.4.0

Since Jun 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/AbdullahGhanem/notify)[ Packagist](https://packagist.org/packages/ghanem/notify)[ RSS](/packages/ghanem-notify/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

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

[](#notify-laravel)

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

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

[](#installation)

First, pull in the package through Composer.

```
"require": {
	"ghanem/notify": "1.*"
}
```

OR

```
composer require ghanem/notify
```

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

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

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

```
'aliases' => [
	'Notify' => Ghanem\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('Content');

    // return object first
    notify()->info('Content');

    // via the facade
    Notify::info('Content');

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

The different 'levels' are:

- `notify()->info('Content');`
- `notify()->success('Content');`
- `notify()->warning('Content');`
- `notify()->error('Content');`

The different arguments:

- `notify()->info('contnent', 10000, false);` // without Cansel button

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

```
php artisan vendor:publish --provider="Ghanem\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="Ghanem\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.

Note
----

[](#note)

Please keep in mind this is for my personal workflow and might not fit your need. I developed this to help speed up my day to day workflow. Please let me know about any issues or if you have any suggestions.

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

[](#my-other-packages)

- [Rating](https://github.com/abdullahghanem/rating)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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 ~0 days

Total

2

Last Release

3287d ago

### Community

Maintainers

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

---

Top Contributors

[![AbdullahGhanem](https://avatars.githubusercontent.com/u/5055892?v=4)](https://github.com/AbdullahGhanem "AbdullahGhanem (1 commits)")

---

Tags

laravelnotificationsflashbootstrapnotify

### Embed Badge

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

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

###  Alternatives

[mouse0270/bootstrap-growl

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

2.2k126.5k](/packages/mouse0270-bootstrap-growl)[edvinaskrucas/notification

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

520396.4k10](/packages/edvinaskrucas-notification)[bpocallaghan/notify

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

3317.8k3](/packages/bpocallaghan-notify)[arcanedev/notify

Flexible flash notifications helper for Laravel.

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

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

6410.6k1](/packages/devmarketer-laraflash)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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