PHPackages                             awesome9/notifications - 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. awesome9/notifications

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

awesome9/notifications
======================

WordPress notification ceneter.

1.0.2(4y ago)011GPL-3.0-or-laterPHPPHP &gt;=5.6

Since May 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/AwesomeNine/Notifications)[ Packagist](https://packagist.org/packages/awesome9/notifications)[ RSS](/packages/awesome9-notifications/feed)WikiDiscussions master Synced 3w ago

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

Notifications
=============

[](#notifications)

[![Awesome9](https://camo.githubusercontent.com/3c0c2d9b4a52297ff7faaf49e147ee8e6e96e0f435b798a6215c2e50ebc6bde3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f417765736f6d652d392d627269676874677265656e)](https://awesome9.co)[![Latest Stable Version](https://camo.githubusercontent.com/e2728a18aadda1a2bb02acf6a6f7335b6b6a27f704c4a22c79fa3dcd1636d7b8/68747470733a2f2f706f7365722e707567782e6f72672f617765736f6d65392f6e6f74696669636174696f6e732f762f737461626c65)](https://packagist.org/packages/awesome9/notifications)[![PHP from Packagist](https://camo.githubusercontent.com/8bc9141f27071dc3616e43848604ea5b1d8206c7735af26e18d309aeeebf3bc2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f617765736f6d65392f6e6f74696669636174696f6e732e737667)](https://packagist.org/packages/awesome9/notifications)[![Total Downloads](https://camo.githubusercontent.com/45ca7a936499fe347b788d1fbb21f2811e14c0f25647fcf82de65aa1848c8525/68747470733a2f2f706f7365722e707567782e6f72672f617765736f6d65392f6e6f74696669636174696f6e732f646f776e6c6f616473)](https://packagist.org/packages/awesome9/notifications)[![License](https://camo.githubusercontent.com/4e40cb4f347339c700af809d793d0c15a727bbe688ac7fb0dca07142d259504c/68747470733a2f2f706f7365722e707567782e6f72672f617765736f6d65392f6e6f74696669636174696f6e732f6c6963656e7365)](https://packagist.org/packages/awesome9/notifications)

 [![](https://camo.githubusercontent.com/4632abd7ec1342e4f8815a21ec69ea4135f1181eb57c5878b4dca637c4b9ec64/68747470733a2f2f696d672e69636f6e73382e636f6d2f6e6f6c616e2f3235362f6170706f696e746d656e742d72656d696e646572732e706e67)](https://camo.githubusercontent.com/4632abd7ec1342e4f8815a21ec69ea4135f1181eb57c5878b4dca637c4b9ec64/68747470733a2f2f696d672e69636f6e73382e636f6d2f6e6f6c616e2f3235362f6170706f696e746d656e742d72656d696e646572732e706e67)

📃 About Notifications
---------------------

[](#-about-notifications)

This package provides ease of managing temporary and permanent notification within WordPress.

💾 Installation
--------------

[](#-installation)

```
composer require awesome9/notifications
```

🕹 Usage
-------

[](#-usage)

First, you need to spin out configuration for your notification center.

```
Awesome9\Notifications\Center::get()
	->set_storage( 'awesome9_plugin_notifications' );  // Option name to be save persistent notifications in DB.
```

Now, let's add and remove some data to be output in admin.

```
// This notification shows once its a temporary notification.
Awesome9\Notifications\Center::get()
	->add( 'Your message goes here.', array(
		'id'      => 'awesome9_some_id'
		'type'    => \Awesome9\Notifications\Notification::ERROR,
		'screen'  => 'post',
		'classes' => 'style-me-custom'
	) );

// Now let's add a persistent one which is dismissible by user.
Awesome9\Notifications\Center::get()
	->add( 'Your message goes here.', array(
		'id'         => 'awesome9_some_id_2'
		'type'       => \Awesome9\Notifications\Notification::ERROR,
		'persistent' => 'some_unique_Id',
		'screen'     => 'post',
		'classes'    => 'style-me-custom'
	) );

// Let's remove a notification.
Awesome9\Notifications\Center::get()
	->remove( 'awesome9_some_id' )
```

### Available options to pass in add function

[](#available-options-to-pass-in-add-function)

OptionDescription`(string) id`Unique ID for the notification`(string) type`Notification type to use i.e error, success, info, warning`(bool, string) persistent`If you want a persistent notification pass a unique id`(string) screen`Screen id to display on. Default: `any``(string) classes`Any css classes you want to add on notification### Helper functions

[](#helper-functions)

You can use the procedural approach as well:

```
Awesome9\Notifications\add( $message, $options = array() );

Awesome9\Notifications\remove( $notification_id );
```

All the parameters remains the same as for the `JSON` class.

📖 Changelog
-----------

[](#-changelog)

[See the changelog file](./CHANGELOG.md)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

3

Last Release

1819d ago

### Community

Maintainers

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

---

Top Contributors

[![meshakeeb](https://avatars.githubusercontent.com/u/1378876?v=4)](https://github.com/meshakeeb "meshakeeb (5 commits)")

### Embed Badge

![Health badge](/badges/awesome9-notifications/health.svg)

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[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)
