PHPackages                             niloys7/remote-admin-notification-client - 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. [Admin Panels](/categories/admin)
4. /
5. niloys7/remote-admin-notification-client

ActiveLibrary[Admin Panels](/categories/admin)

niloys7/remote-admin-notification-client
========================================

Admin Notification client fo WordPress Plugins &amp; Theme

1191PHP

Since Apr 18Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Niloys7/remote-admin-notification-client)[ Packagist](https://packagist.org/packages/niloys7/remote-admin-notification-client)[ RSS](/packages/niloys7-remote-admin-notification-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Remote Dashboard Notifications WordPress Client
===============================================

[](#remote-dashboard-notifications-wordpress-client)

[![PHP Version Require](https://camo.githubusercontent.com/8ffe598a8eec268681d71001c1007d6a7bf19317a88f2c5b6e661ec843da929f/687474703a2f2f706f7365722e707567782e6f72672f6e696c6f7973372f72656d6f74652d61646d696e2d6e6f74696669636174696f6e2d636c69656e742f726571756972652f706870)](https://packagist.org/packages/niloys7/remote-admin-notification-client)[![GPLv3 License](https://camo.githubusercontent.com/da9c3abfd62c32a94031c3a382cb7c85dbd4cede411416837adfe6b8fda05ba1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d79656c6c6f772e737667)](https://opensource.org/licenses/)

How it works
------------

[](#how-it-works)

The plugin is meant to manage messages for multiple products. We call *channels* the different types of notifications. For instance, if I have 2 products, Product A and Product B, I will create 2 channels in the server: Channel A and Channel B.

Once a channel is created, the plugin will create an ID and a key used to authenticate the client requests. When integrating RDN to a theme or plugin, the client class will be instanciated with the desired channel ID and key.

When a client site will will check for new notifications, it will make an HTTP request (using WordPress HTTP API) to the server. If the requested channel exists and the key is valid, the server will return the latest notification (if any) in a JSON encoded array.

The client site will then cache this response and display it as an admin notice in the WordPress site dashboard until the user dismisses it.

Integration in a theme or plugin
--------------------------------

[](#integration-in-a-theme-or-plugin)

#### Prerequisite

[](#prerequisite)

The following has to be understood before you can integrate this feature in your product:

- **Server**: the WordPress site where the plugin is installed
- **Client**: the WordPress site where the class in instantiated (through a theme or a plugin)

### Integration steps

[](#integration-steps)

Run `composer require niloys7/remote-admin-notification-client dev-main`

Alternatively, clone or download this repo into the `inc/` folder in your plugin, and include/require the `class-remote-notification-client.php;` file like so

```
require_once 'class-remote-notification-client.php';
```

or let Composer's autoloader do the work.

It is really easy to integrate this feature in a plugin or theme. Only four steps are required:

1. Create a new channel on the server
2. Get the channel ID &amp; key (in the term edit screen)
3. Register the notification on the client with the server's URL (`http://domain.com`), the channel ID and key

```
/**

* @since 1.0
*
* @param int    $channel_id  Channel ID on the remote server
* @param string $channel_key Channel key for authentication with the server
* @param string $server      Notification server URL
* @param int    $cache       Cache lifetime (in hours)
*
* @return bool|string
*/
NS7_RDNC::instance()->add_notification( 72, 'a9873a6e608e946e', 'https://www.codeixer.com' );
```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![Niloys7](https://avatars.githubusercontent.com/u/6366903?v=4)](https://github.com/Niloys7 "Niloys7 (15 commits)")

### Embed Badge

![Health badge](/badges/niloys7-remote-admin-notification-client/health.svg)

```
[![Health](https://phpackages.com/badges/niloys7-remote-admin-notification-client/health.svg)](https://phpackages.com/packages/niloys7-remote-admin-notification-client)
```

###  Alternatives

[jeroennoten/laravel-adminlte

Easy AdminLTE integration with Laravel

4.0k4.8M43](/packages/jeroennoten-laravel-adminlte)[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[bezhansalleh/filament-exceptions

A Simple &amp; Beautiful Pluggable Exception Viewer for FilamentPHP's Admin Panel

193195.9k13](/packages/bezhansalleh-filament-exceptions)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)

PHPackages © 2026

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