Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

Activity

Total releases
3
First release
Jun 2025
Latest release
10 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Slowing

Release Timeline

Releases

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