PHPackages                             brkfun/notification-options - 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. brkfun/notification-options

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

brkfun/notification-options
===========================

Make a sense to notification options

v0.5(2y ago)2179proprietaryPHPPHP ^7.1|^8.0|^8.1CI failing

Since Sep 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/brkfun/notification-options)[ Packagist](https://packagist.org/packages/brkfun/notification-options)[ Docs](https://github.com/brkfun/notification-options)[ RSS](/packages/brkfun-notification-options/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Laravel Notification Settings Package
=====================================

[](#laravel-notification-settings-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d0377816ab16ab46a5400f9b4ab848a432d9564b7f3d76278cf192459dc9e94e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62726b66756e2f6e6f74696669636174696f6e2d6f7074696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/brkfun/notification-options)[![Build Status](https://camo.githubusercontent.com/10cb779cb0aad72a125a6c42833e8e9285a6ee8e5529b019192e4b80188681d2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f62726b66756e2f6e6f74696669636174696f6e2d6f7074696f6e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/brkfun/notification-options)[![Quality Score](https://camo.githubusercontent.com/69a4a7b6372ca29cc2175de86ade0ffdfb663c4c8fc4e9a8be658cbb7f35eea1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f62726b66756e2f6e6f74696669636174696f6e2d6f7074696f6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/brkfun/notification-options)[![Total Downloads](https://camo.githubusercontent.com/30e3a3b9dfaa63d9717dab2298f4f860d4b797041becfd6d4383240592b9a579/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62726b66756e2f6e6f74696669636174696f6e2d6f7074696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/brkfun/notification-options)

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

[](#installation)

You can install the package via composer:

```
composer require brkfun/notification-options
```

You can also drop the config and needed files :

```
php artisan vendor:publish --provider="BRKFun\\NotificationOptions\\NotificationOptionsServiceProvider"
```

Usage
-----

[](#usage)

Go to your notifiable model and add a trait

```
namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use BRKFun\NotificationOptions\Traits\HasNotificationOptions;

class User extends Authenticatable
{
use HasNotificationOptions;
}
```

Whenever you call anything starts with wants ie.

```
$user = User::first();
return $user->wantsMailNotification;
```

it will turn you the setting for user. If there isn't any settings in for user, it will create a new setting value to database

Todo List
---------

[](#todo-list)

##### 1. create a router and methods for subscribe and unsubscribe stuff.

[](#1-create-a-router-and-methods-for-subscribe-and-unsubscribe-stuff)

##### 2. create facade for faster usage.

[](#2-create-facade-for-faster-usage)

### Testing

[](#testing)

No testing developed yet.

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues just drop an issue.

Credits
-------

[](#credits)

- [Burak Faruk SAHIN](https://github.com/brkfun)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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 ~339 days

Total

5

Last Release

1062d ago

PHP version history (2 changes)v0.1PHP ^7.1

v0.4PHP ^7.1|^8.0|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ffa0f97924c048ab35c33ede2ac20168db9687663dca9a02176c04881768a7c?d=identicon)[brkfun](/maintainers/brkfun)

---

Top Contributors

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

---

Tags

brkfunnotification-options

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/brkfun-notification-options/health.svg)

```
[![Health](https://phpackages.com/badges/brkfun-notification-options/health.svg)](https://phpackages.com/packages/brkfun-notification-options)
```

###  Alternatives

[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/apn

Apple APN Push Notification Channel

2021.9M4](/packages/laravel-notification-channels-apn)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

The Illuminate Mail package.

5910.1M391](/packages/illuminate-mail)

PHPackages © 2026

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