PHPackages                             sarfraznawaz2005/noty - 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. sarfraznawaz2005/noty

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

sarfraznawaz2005/noty
=====================

Laravel package to incorporate noty flash notifications into laravel.

1.1.3(5y ago)324.4k↓26.7%4MITPHP

Since Aug 15Pushed 5y ago1 watchersCompare

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

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/5601cda023a26dfd1b74feaa87171318c8ee8cc3c014d230f3c6b0703a545bf7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7361726672617a6e6177617a323030352f6e6f74792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sarfraznawaz2005/noty)[![Total Downloads](https://camo.githubusercontent.com/312cb110fefb74e2f0980268e4fede3d661ce248a70405c7655a3766dce52c14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7361726672617a6e6177617a323030352f6e6f74792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sarfraznawaz2005/noty)

Laravel Noty
============

[](#laravel-noty)

Laravel package to incorporate beautiful noty notifications into laravel as flash messages.

*Tested with version 3.2.0 of [noty](https://github.com/needim/noty).*

Screenshot
----------

[](#screenshot)

[![Main Window](https://github.com/sarfraznawaz2005/noty/raw/master/screen.jpg?raw=true)](https://github.com/sarfraznawaz2005/noty/blob/master/screen.jpg?raw=true)

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6
- Laravel 5
- [noty](https://github.com/needim/noty)

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

[](#installation)

Via Composer

```
$ composer require sarfraznawaz2005/noty
```

For Laravel &lt; 5.5:

Add Service Provider to `config/app.php` in `providers` section

```
Sarfraznawaz2005\Noty\NotyServiceProvider::class,
```

---

Publish package's config file by running below command:

```
$ php artisan vendor:publish --provider="Sarfraznawaz2005\Noty\NotyServiceProvider"
```

It should publish `config/noty.php` config file.

Setup Noty
----------

[](#setup-noty)

Before using this package, make sure you include [noty](https://github.com/needim/noty) library into your project either by using npm/yarn/etc or directly including its css and js files:

```

```

and then add this in your view/layout file:

```
@include('noty::view')
```

Usage
-----

[](#usage)

Syntax:

```
noty($message, $type = '', array $options = [])
```

In your controllers, you can now do:

```
public function store()
{
    noty('Success Message', 'success');

    return redirect()->back();
}
```

Following are types of notifications you can send:

```
noty('Your Message'); // default (info)
noty('Your Message', 'success');
noty('Your Message', 'error');
noty('Your Message', 'warning');
noty('Your Message', 'alert');
```

With `$options`, you can also override `noty` config values for individual notifications example:

```
noty('My Notification', null, ['layout' => 'top', 'timeout' => 5000]);
```

Credits
-------

[](#credits)

- [Sarfraz Ahmed](https://github.com/sarfraznawaz2005)
- [All Contributors](https://github.com/sarfraznawaz2005/noty/graphs/contributors)

License
-------

[](#license)

Please see the [license file](license.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

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

Total

4

Last Release

2069d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f9bbcf3a6cda5f8bdf9afe10c20f5c6f563fc1a4d628a9af25c5fdec3f9c216?d=identicon)[sarfraznawaz2005](/maintainers/sarfraznawaz2005)

---

Top Contributors

[![sarfraznawaz2005](https://avatars.githubusercontent.com/u/201788?v=4)](https://github.com/sarfraznawaz2005 "sarfraznawaz2005 (8 commits)")[![sarfrazonsupport](https://avatars.githubusercontent.com/u/142378572?v=4)](https://github.com/sarfrazonsupport "sarfrazonsupport (8 commits)")[![chood531](https://avatars.githubusercontent.com/u/2797736?v=4)](https://github.com/chood531 "chood531 (1 commits)")

---

Tags

alertflashflash-messageslaravellaravel-packagenotyphplaravelnotificationflashnotifynoty

### Embed Badge

![Health badge](/badges/sarfraznawaz2005-noty/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[brian2694/laravel-toastr

toastr.js for Laravel

136649.4k5](/packages/brian2694-laravel-toastr)[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

77199.7k5](/packages/loveorigami-yii2-notification-wrapper)

PHPackages © 2026

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