PHPackages                             coderatio/laranotify - 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. coderatio/laranotify

ActiveLaravel-package

coderatio/laranotify
====================

A feature-rich laravel package that turns bootstrap notify jQuery plugin to dynamic notifications, alerts and blockables.

v0.1(8y ago)93701MITPHPPHP &gt;=5.6.0

Since Mar 2Pushed 7y agoCompare

[ Source](https://github.com/coderatio/laranotify)[ Packagist](https://packagist.org/packages/coderatio/laranotify)[ RSS](/packages/coderatio-laranotify/feed)WikiDiscussions master Synced today

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

Laranotify
==========

[](#laranotify)

[![](https://camo.githubusercontent.com/736781c0e68621cdfdb9b47cf15b283ca040ed2ded42ffdea8188f7fb4ae58e6/68747470733a2f2f706f7365722e707567782e6f72672f636f6465726174696f2f6c6172616e6f746966792f762f737461626c65)](https://camo.githubusercontent.com/736781c0e68621cdfdb9b47cf15b283ca040ed2ded42ffdea8188f7fb4ae58e6/68747470733a2f2f706f7365722e707567782e6f72672f636f6465726174696f2f6c6172616e6f746966792f762f737461626c65)[![](https://camo.githubusercontent.com/f357f890420170cacf4ebf5dcfd316b7ed241633a6b5f3bcc1d46eecaa3ca6fb/68747470733a2f2f706f7365722e707567782e6f72672f636f6465726174696f2f6c6172616e6f746966792f646f776e6c6f616473)](https://poser.pugx.org/coderatio/laranotify/downloads)[![License](https://camo.githubusercontent.com/f45d904953153ca304a2328243d2733e095eee13a631a1f390709885d41dd692/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f6c6963656e73652e737667)](https://packagist.org/packages/coderatio/laranotify)[![](https://camo.githubusercontent.com/42ce2596ae2e1e2842095edaca76b2449314baa7f3f1a6427805144fe62de522/68747470733a2f2f706f7365722e707567782e6f72672f636f6465726174696f2f6c6172616e6f746966792f762f756e737461626c65)](https://poser.pugx.org/coderatio/laranotify/v/unstable)

The most advanced laravel package to dynamically display beautiful and elegant alert messages, blockables and notifications on screen. This is built with fluency in mind--meaning, you can chain as many methods as you want. Lots of functionalities are available. [See demos](#demos)It's built on top of Bootstrap notify or growl plugin. It comes with all methods in the plugin with lots of additional advanced methods. It therefore, requires you to have bootstrap installed on your project. However, customizing the template, gives your users different looks. Read about template customization under templates section.

> **Note:** *To start building your custom template, it's advisable to publish a sample to your view directory. When published, the sample template will be copied to laranotify directory inside your views folder. [Learn about template publishing here](#publish-template)*.

Installation
============

[](#installation)

Laranotify installation should be done via composer. Require `coderatio/laranotify` in your project's composer.json file OR

Do `composer require coderatio/laranotify` on your terminal or command prompt if you are on Windows OS.

Provider and Aliases
====================

[](#provider-and-aliases)

If your Laravel installed version is less than 5.5, you will need to manually register the service provider and aliases. The provider and aliases are auto-discovered in version 5.5 and above.

To register the package service provider and aliases, open your `app.php` in config directory of your laravel installation then copy and paste:

```
// Laranotify provider
Coderatio\Laranotify\LaranotifyServiceProvider::class,
```

Under your providers array.

Then in your aliases array, copy and paste:

```
// Laranotify aliases
'Notify' => Coderatio\Laranotify\Facades\Notify::class,
'Laranotify' => Coderatio\Laranotify\Facades\Laranotify::class,
```

The aliases are Facades that helps you bind non static methods as static to the package service class. E.g

```
Notify::success('This is a message');
```

Publishing
==========

[](#publishing)

The package has configuration and assets files that needs to be published to your app public directory. To publish these files, run;

```
php artisan vendor:publish --tag=laranotify-required
```

on your command line.

Header and footer
=================

[](#header-and-footer)

Finally, call `notify_header()` function at the head tag and `notify_footer()` after your bootstrap JavaScript file to register laranotify assets in your project. This step is required.

e.g

##### Header

[](#header)

```

{{ notify_header() }}

```

> **Note:** *If you want to use the included Bootstrap css file, pass `true` as a parameter to the function like this:*

```
 {{ notify_header(true) }}
```

##### Footer

[](#footer)

```
{{ notify_footer() }}

```

> **Note:** *If you want to use the included Bootstrap and jQuery files, pass `true` as a parameter to the function like this:*

```
 {{ notify_footer(true) }}
```

*For these files to be properly loaded in your project, you will need to run `php artisan vendor:publish --tag=laranotify-foundations` on your command line or prompt.*

Usage via Facades
=================

[](#usage-via-facades)

```
Notify::message ('I am a simple notification from laranotify');
// You've just created your first notification.
```

You can then chain other methods to it. For example, if i want to change the delay period, i will do this:

```
Notify::success('I am a simple notification from laranotify')->delay(6000);
// 6000 = 6secs.
```

We included two facades for conveniences. You can choose to use either of them.

Usage via helpers
=================

[](#usage-via-helpers)

There are two helper functions provided to help you get started out of the box. The helper functions return the instance of the package service class.

```
/**
* @param (string) $message
*/
notify();
```

This helper takes only one argument which is your message. You may use the message method or notify types methods e.g error, info e.t.c by chaining to the helper function and many other once.

```
/**
* @param (string) $message
*/
laranotify();
```

Same as notify helper above.

```
notify('Hello World');
// OR
laranotify('Hello World');
```

Will display `Hello World` on screen with default bootstrap info alert type.

To display a different type of alert , say error alert, chain error method to a helper or type method and pass any bootstrap alert class or your custom class to it. E.g

```
notify()->error('There was an error!');
 // OR
notify('There was an error!')->type('danger');
```

Demos
-----

[](#demos)

### Modal type notification.

[](#modal-type-notification)

[![](https://github.com/coderatio/laranotify/raw/master/src/public/img/blockable-icon.jpg)](https://github.com/coderatio/laranotify/blob/master/src/public/img/blockable-icon.jpg)

Attributions
------------

[](#attributions)

We deeply want to appreciate the creator of Bootstrap notify or growl plugin [Robert McIntosh](https://github.com/mouse0270). Without which, there wouldn't have been this awesome package.

Documentation
-------------

[](#documentation)

Full documentation can be found [here](https://coderatio.github.io/laranotify/).

Copyright &amp; Licence
-----------------------

[](#copyright--licence)

The MIT License (MIT) Copyright (c) 2018 Coderatio

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

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

2942d ago

### Community

Maintainers

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

---

Top Contributors

[![Ovye](https://avatars.githubusercontent.com/u/32317057?v=4)](https://github.com/Ovye "Ovye (58 commits)")[![coderatio](https://avatars.githubusercontent.com/u/36877085?v=4)](https://github.com/coderatio "coderatio (50 commits)")

---

Tags

laravelnotifiernotifylaravel-notificationlaravel-frameworklarabootstrap-notifyCoderatioCode9jaLarnotifyLaranotify

### Embed Badge

![Health badge](/badges/coderatio-laranotify/health.svg)

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

###  Alternatives

[nunomaduro/laravel-desktop-notifier

Send notifications to your desktop from your Laravel commands. An JoliNotif wrapper for Laravel 5.

4771.7M6](/packages/nunomaduro-laravel-desktop-notifier)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Dump、Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14241.9k1](/packages/guanguans-laravel-exception-notify)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.3k](/packages/sarfraznawaz2005-noty)[gloudemans/notify

Laravel Notifications

1811.5k](/packages/gloudemans-notify)

PHPackages © 2026

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