PHPackages                             john-wink/jw-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. john-wink/jw-notifications

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

john-wink/jw-notifications
==========================

Filament Plugin for customizable Notification Channels per User

1.0.3(1y ago)113.5k↓46.9%[4 PRs](https://github.com/john-wink/jw-notifications/pulls)MITPHPPHP ^8.1CI passing

Since Oct 20Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/john-wink/jw-notifications)[ Packagist](https://packagist.org/packages/john-wink/jw-notifications)[ Docs](https://github.com/john-wink/jw-notifications)[ GitHub Sponsors](https://github.com/john-wink)[ RSS](/packages/john-wink-jw-notifications/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (12)Versions (10)Used By (0)

Filament Plugin for customizable Notification Channels per User
===============================================================

[](#filament-plugin-for-customizable-notification-channels-per-user)

With this Plugin you can customize the Notifications Channel per User

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require john-wink/jw-notifications
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="jw-notifications-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="jw-notifications-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="jw-notifications-views"
```

This is the contents of the published config file:

```
return [
    'table'      => 'subscribed_channels',
    'notifiable' => App\Models\User::class,
];
```

Usage
-----

[](#usage)

Replace the via() function within Notifications that you want to use with this trait:

```
    use \JohnWink\JwNotifications\Traits\HasCustomizedChannels;
```

Add the following trait to the user:

```
    use \JohnWink\JwNotifications\Traits\CanSubscribeToChannels;
```

Configure the FilamentPanels according to this example: Replace the notifications with your own notifications and the channels with your own channels that you have installed and configured.

```
return $panel->plugins([
    JwNotificationsPlugin::make()
        ->notifications([
            /*
            * Add here your Notifications Channels
            * The Notification Channel should use the Trait:
            * \JohnWink\JwNotifications\Traits\HasCustomizedChannels
            */
        ])
        ->channels(fn () => [
            'database'        => 'Database',
            'mail'            => 'Email',
        ]),
    ]);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [john-wink](https://github.com/john-wink)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance67

Regular maintenance activity

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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 ~79 days

Total

5

Last Release

260d ago

Major Versions

1.0.3 → v2.0.x-dev2025-09-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/141d739e08a4293474c8598c867ff954a537c0bfd022e758ac183528c0f5cfb6?d=identicon)[john-wink](/maintainers/john-wink)

---

Top Contributors

[![john-wink](https://avatars.githubusercontent.com/u/35034627?v=4)](https://github.com/john-wink "john-wink (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laraveljohn-winkjw-notifications

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/john-wink-jw-notifications/health.svg)

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

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[wnx/laravel-sends

Keep track of outgoing emails in your Laravel application.

200427.3k](/packages/wnx-laravel-sends)[spatie/laravel-discord-alerts

Send a message to Discord

151408.0k](/packages/spatie-laravel-discord-alerts)[rickdbcn/filament-email

Log all outbound emails you send through your Filament application

126246.1k1](/packages/rickdbcn-filament-email)[spatie/laravel-mailcoach-sdk

An SDK to easily work with the Mailcoach API in Laravel apps

41290.2k1](/packages/spatie-laravel-mailcoach-sdk)[creagia/laravel-web-mailer

Laravel Web Mailer

6923.5k](/packages/creagia-laravel-web-mailer)

PHPackages © 2026

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