Firebase UI
This module integrates Firebase push notifications into Drupal, allowing administrators to send immediate or scheduled notifications to users. It provides a backend interface for managing notifications, configuring Firebase credentials, and automatically handles user tokens.
Firebase UI is a Drupal module that integrates Firebase push notifications directly into the Drupal backend. It enables administrators to send notifications to authenticated users, specific users, or user roles, with options for immediate or scheduled delivery. The module includes a backend UI for easy configuration and management, allowing you to send and manage notifications effortlessly.
Features
- Backend UI for:
- Sending notifications to all active users or specific users/roles
- Scheduling notifications for future delivery
- Pausing/resuming notifications
- Resending notifications
- Auto-management of
field_firebase_tokenson the user entity - Invalid token cleanup and token management
- Scalable notification delivery via queue (processable via cron or Drush)
- Admin UI for configuring Firebase credentials
- Compatible with Firebase Web SDK (
firebase.messaging())
Requirements
- Drupal 10+
- Firebase project with Firebase Cloud Messaging (FCM) enabled
- PHP libraries installed via Composer:
composer require google/auth guzzlehttp/guzzle
Installation:
Install the module via Composer and Drush:
composer require drupal/firebase_ui drush en firebase_ui -y
Configuration:
Navigate to /admin/config/services/firebase-ui/settings and enter your Firebase project credentials: apiKey, projectId, messagingSenderId, appId, vapidKey
Sending Notifications:
To send a notification, go to /admin/config/services/firebase-ui/send.
- Choose the recipients (All Users, Specific Users, or Roles)
- Set the notification schedule (Immediately or Scheduled Date/Time)
- Enter the title (max 50 characters) and message (max 150 characters)
Managing Notifications:
To manage notifications, go to /admin/config/services/firebase-ui/list.
- View, pause/resume, and resend notifications.
Drush Support:
Manually process the notification queue with Drush: drush queue:run firebase_ui_notification_queue Or wait for Drupal cron to process it automatically.
Support:
For any issues or feature requests, please open an issue on the Drupal Firebase UI Project Issue Tracker
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
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.5 | Stable | 10–11 | Apr 26, 2025 | ||
| 1.0.4 | Stable | 10–11 | Apr 25, 2025 | ||
| 1.0.3 | Stable | 8–11 | Apr 23, 2025 | ||
| 1.0.2 | Stable | 10–11 | Improved code quality and fixed minor issues for better stability. | Apr 17, 2025 | |
| 1.0.1 | Stable | 10–11 | Initial release of the Firebase UI Drupal module. It allows sending Firebase push notifications to users or roles, with scheduling and token management. Includes a backend UI and integrates with Firebase Web SDK (firebase.messaging()). | Apr 14, 2025 | |
| 1.0.x-dev | Dev | 10–11 | Send Firebase push notifications from the Drupal admin to specific users, roles, or all users with scheduling, queuing, and retry support. | Apr 5, 2025 |