PHPackages                             padosoft/laravel-notifier - 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. padosoft/laravel-notifier

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

padosoft/laravel-notifier
=========================

Laravel Laravel Package for beautifull JS notification.

1.9.0(1y ago)213.4k↓43.8%[2 PRs](https://github.com/padosoft/laravel-notifier/pulls)MITPHPPHP &gt;=7.1CI failing

Since Apr 23Pushed 9mo ago4 watchersCompare

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

READMEChangelog (5)Dependencies (5)Versions (21)Used By (0)

Laravel Package for beautifull JS notification.
===============================================

[](#laravel-package-for-beautifull-js-notification)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d7ca76cbcb614ac76cbec3280f43a33588676a9c0f79f47c279822594012d2c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7061646f736f66742f6c61726176656c2d6e6f7469666965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/laravel-notifier)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Quality Score](https://camo.githubusercontent.com/7baa3db374a18633ffc4056ca3f81a7bfba706efc29281cf10858ac128512f9d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7061646f736f66742f6c61726176656c2d6e6f7469666965722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/padosoft/laravel-notifier)[![Total Downloads](https://camo.githubusercontent.com/3997bc16d1d2c0d328ac834ad7610dd20d48d349aa4e27c3ae91c22b6216b922/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7061646f736f66742f6c61726176656c2d6e6f7469666965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/padosoft/laravel-notifier)[![SensioLabsInsight](https://camo.githubusercontent.com/60b5efdc42b2c97362d8e1d0464376048c2c9a5a050a687c41fcc3babea83c58/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f33613339646131332d366635662d343034312d393730302d3831653863316632653338372e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/3a39da13-6f5f-4041-9700-81e8c1f2e387)

This package provides a wrapper of commands to Padosoft JS notifier, to display beautifull notifications with js plugin.

[![screenshoot](https://raw.githubusercontent.com/padosoft/laravel-notifier/master/resources/img/laravel-notifier.png)](https://raw.githubusercontent.com/padosoft/laravel-notifier/master/resources/img/laravel-notifier.png)

Table of Contents
=================

[](#table-of-contents)

- [Laravel Package to notify with beautifull JS notifier.](#laravel-package-to-notify-with-beautiful-js-notifier)
    - [SCREENSHOOTS](#screenshoots)
    - [Requires](#requires)
    - [Installation](#installation)
    - [USAGE](#usage)
        - [EXAMPLE:](#example)
    - [Change log](#change-log)
    - [Testing](#testing)
    - [Contributing](#contributing)
    - [Security](#security)
    - [Credits](#credits)
    - [About Padosoft](#about-padosoft)
    - [License](#license)

\##Requires

- "php" : "&gt;=7.0.0",
- "illuminate/support": "^5.0|^6.0|^7.0",
- "illuminate/session": "^5.0|^6.0|^7.0"

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

[](#installation)

You can install the package via composer:

```
$ composer require padosoft/laravel-notifier
```

### FOR LARAVEL 5.6+

[](#for-laravel-56)

No additional steps required because the service provider use new L5.5+ autodiscovery feature.

### FOR LARAVEL &lt;=5.5

[](#for-laravel-55)

You must install this service provider.

```
// config/app.php
'provider' => [
    ...
    Padosoft\Laravel\Notification\Notifier\NotifierServiceProvider::class,
    ...
];
```

USAGE
-----

[](#usage)

Call one of these methods in your controllers to insert a notification:

- `Notify::warning($message, $onlyNextRequest = false, $options = [])` - add a warning notification
- `Notify::error($message, $onlyNextRequest = false, $options = [])` - add an error notification
- `Notify::info($message, $onlyNextRequest = false, $options = [])` - add an info notification
- `Notify::success($message, $onlyNextRequest = false, $options = [])` - add a success notification
- `Notify::add($theme, $timeout, $type: warning|error|info|success, $layout, $text, $sounds = null, $soundsVolume = null)` - add a notification
    - `Notify::clear()` - clear all current notification

If you need to show the notification only if a particular condition is true, you can use these methods:

- `Notify::ifWarning($condition, $message, $onlyNextRequest = false, $options = [])` - add a warning notification if $condition is true
- `Notify::ifError($condition, $message, $onlyNextRequest = false, $options = [])` - add an error notification if $condition is true
- `Notify::ifInfo($condition, $message, $onlyNextRequest = false, $options = [])` - add an info notification if $condition is true
- `Notify::ifSuccess($condition, $message, $onlyNextRequest = false, $options = [])` - add a success notification if $condition is true

Example: instead of use this:

```
if($condition){
    Notify::success('You have an email!');
}
```

you can use this:

```
Notify::IfSuccess($condition, 'You have an email!');
```

```
{!! notify() !!}
```

### EXAMPLE:

[](#example)

```
Notify::info('You have an email!');
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Lorenzo Padovani](https://github.com/lopadova)
- [All Contributors](../../contributors)

About Padosoft
--------------

[](#about-padosoft)

Padosoft () is a software house based in Florence, Italy. Specialized in E-commerce and web sites.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance52

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~186 days

Total

18

Last Release

409d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.0.0

1.5.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9fabb1f16f7a29a235494893175d25d51628fe2a6c9052834e35abe0666c9a8e?d=identicon)[lopadova](/maintainers/lopadova)

---

Top Contributors

[![leopado](https://avatars.githubusercontent.com/u/20923180?v=4)](https://github.com/leopado "leopado (11 commits)")[![lopadova](https://avatars.githubusercontent.com/u/10467699?v=4)](https://github.com/lopadova "lopadova (10 commits)")[![likedo](https://avatars.githubusercontent.com/u/8256514?v=4)](https://github.com/likedo "likedo (4 commits)")[![albertomori](https://avatars.githubusercontent.com/u/262632?v=4)](https://github.com/albertomori "albertomori (2 commits)")

---

Tags

jslaravelnotificationsnotifierpackagenotifiernotypadosoftlaravel-notifier

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/padosoft-laravel-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/padosoft-laravel-notifier/health.svg)](https://phpackages.com/packages/padosoft-laravel-notifier)
```

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[symfony/notifier

Sends notifications via one or more channels (email, SMS, ...)

80640.3M290](/packages/symfony-notifier)[brian2694/laravel-toastr

toastr.js for Laravel

136649.4k5](/packages/brian2694-laravel-toastr)[symfony/slack-notifier

Symfony Slack Notifier Bridge

426.1M11](/packages/symfony-slack-notifier)[yieldstudio/laravel-expo-notifier

Easily send Expo notifications with Laravel.

59115.9k](/packages/yieldstudio-laravel-expo-notifier)[symfony/fake-sms-notifier

Fake SMS (as email or log during development) Notifier Bridge.

27754.2k1](/packages/symfony-fake-sms-notifier)

PHPackages © 2026

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