Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Notification Server

1 sites Security covered
View on drupal.org

This is a developer module that enables real-time notifications by connecting to an external notification server. It provides APIs for publishing notifications and managing communication channels, offering a self-hosted alternative to SaaS messaging services.

Notification Server is a developer module that provides real-time notification capabilities by integrating with an external notification server through HTTP and WebSocket protocols.

Important

This is a developer module that provides APIs and services for integrating real-time notifications. It will not do anything on its own and requires custom code or other modules to utilize its functionality.

Features

  • HTTP API Client - Publishing notifications and managing channels
  • WebSocket Integration - Real-time bidirectional communication with browser clients
  • Channel Management - Creating channels and managing access control
  • Client Management - Handling WebSocket client connections
  • Demo Interfaces - Testing functionality (optional demo module)

Self-Hosted Alternative

The Notification Server is a self-hosted solution that provides an alternative to SaaS-based real-time messaging services like Pusher, Firebase, or Ably. By running your own notification server, you maintain full control over your data, avoid vendor lock-in, and can customize the solution to meet your specific needs.

Requirements

  • External Notification Server - Requires a running instance of the Notification Server or compatible API
  • Redis - The notification server requires Redis for data storage

Easy Setup with DDEV

For Drupal developers using DDEV, the notification server can be easily added using the DDEV addon:

ddev add-on get d34dman/ddev-notification-server
ddev restart

Usage

Use the notification_server.client service to publish messages:

$notification_client = \Drupal::service('notification_server.client');
$notification_client->publishNotification('channel_name', 'Hello, World!');

Perfect for real-time updates, push notifications, chat applications, and real-time dashboards.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jun 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha2 Pre-release 10–11 Aug 23, 2025
1.0.0-alpha1 Pre-release 10–11 Aug 16, 2025
1.x-dev Dev 10–11 Jun 18, 2025