Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Pusher mini: authentication for Pusher protocol

Security covered Under active development

Pusher Mini integrates Pusher, a real-time messaging service, into Drupal. It handles API key management, offers an optional endpoint for user-specific messaging, and allows for connections to self-hosted instances. The module can expose public app keys to the front-end for JavaScript integration.

Pusher Mini is featured in a blog post about receiving notifications: https://www.previousnext.com.au/blog/symfony-messenger/post-7-ui-notific...

A glue project for setting app/API keys for Pusher.

See README for Installation, Configuration, Usage, etc.

Features

  • Key management with Key: Secrets and public keys.
  • Public app keys are optionally exposed to the front end with JavaScript.
  • A Pusher client object factory is included.
  • An optional user authentication endpoint is provided if you wish to be able to target message to specific Drupal users.
  • Advanced connection details enable the ability to connect to self-hosted Soketi instances. Rather than Pusher.com.

Pusher server-side

This project uses the Pusher packagist library. You should install the module
with Composer so your dependencies are managed automatically. Support is not
provided for non-Composer installations.

Pusher client-side

The Pusher JS client is intentionally not included with this project. You may
bundle it with your site in any way you like, such as with your own NPM/Yarn build system or embedding directly with a CDN. This project passes along Pusher
Client configuration to the browser via window.PusherConfiguration when the
user in context has pusher_mini use permission.

This project is not affiliated with Pusher or MessageBird or any of its parent companies or subsidiaries.

Example

Toasty uses Pusher Mini to send and show notifications to users: https://git.drupalcode.org/project/toasty/-/blob/1.x/src/Messenger/Middl...

Ask your assistant about Pusher mini: authentication for Pusher protocol

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
Oct 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta2 Pre-release 10–11 PHP 8.1 Nov 24, 2023
1.0.0-beta1 Pre-release 10–11 PHP 8.1 Oct 21, 2023
1.x-dev Dev 10–11 PHP 8.1 Oct 20, 2023