PHPackages                             bpa/notifications - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. bpa/notifications

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

bpa/notifications
=================

A system to send notifications to different handlers

v1.1(7y ago)07744MITPHP

Since May 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/BenjaminPaap/Notifications)[ Packagist](https://packagist.org/packages/bpa/notifications)[ RSS](/packages/bpa-notifications/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (4)

Send notifications to different configured handlers at once.

Installation
============

[](#installation)

```
$ composer require bpa/notifications
```

Usage
=====

[](#usage)

Create a room to which your messages should be sent:

```
class DeveloperRoom implements RoomInterface
{
    public function getIdentifier()
    {
        return 'developer-room';
    }

    public function getName()
    {
        return 'Room for developers';
    }
}
```

Create a message type:

```
class UrgentDeveloperMessage implements MessageInterface
{
    public function getTitle()
    {
        return null;
    }

    public function getMessage()
    {
        return 'There is an urgent task waiting to be done';
    }

    public function getRoom()
    {
        return new DeveloperRoom();
    }
}
```

Handlers
========

[](#handlers)

Currently there is only a single handler. But more are to come. I would love to see some contributions for other chat tools like Slack, Hipchat, IRC or others.

- Stride: [bpa/notifications-stride](https://github.com/BenjaminPaap/NotificationsStride)
- Slack: [bpa/notifications-slack](https://github.com/BenjaminPaap/NotificationsSlack)

Contribution
============

[](#contribution)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~184 days

Total

2

Last Release

2750d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d4b437b14b2f79a5c8baa6b9cb2ee269bcb4ef4496a2bcde38b22baa091d5c5?d=identicon)[BenjaminPaap](/maintainers/BenjaminPaap)

---

Top Contributors

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

---

Tags

handlernotificationsslackstride

### Embed Badge

![Health badge](/badges/bpa-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/bpa-notifications/health.svg)](https://phpackages.com/packages/bpa-notifications)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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