PHPackages                             yuges-code/laravel-subscribable - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. yuges-code/laravel-subscribable

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

yuges-code/laravel-subscribable
===============================

🔔 Package for easily attaching subscriptions to Laravel eloquent models

1.0.3(1y ago)27MITPHPPHP ^8.4CI passing

Since Mar 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yuges-code/laravel-subscribable)[ Packagist](https://packagist.org/packages/yuges-code/laravel-subscribable)[ Docs](https://yuges-code.github.io/laravel-subscribable)[ GitHub Sponsors](https://github.com/yuges-code)[ RSS](/packages/yuges-code-laravel-subscribable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

 [![](https://raw.githubusercontent.com/yuges-code/laravel-subscribable/master/assets/logo.png)](https://raw.githubusercontent.com/yuges-code/laravel-subscribable/master/assets/logo.png)

 **Build **[![GitHub Branch Check Runs](https://camo.githubusercontent.com/75449d445204a4c35a77eff876da84306e37591905eedf8b06ad16f51b59f9e9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636865636b2d72756e732f79756765732d636f64652f6c61726176656c2d737562736372696261626c652f6d61696e)](https://camo.githubusercontent.com/75449d445204a4c35a77eff876da84306e37591905eedf8b06ad16f51b59f9e9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636865636b2d72756e732f79756765732d636f64652f6c61726176656c2d737562736372696261626c652f6d61696e) [![GitHub Tests Action Status](https://camo.githubusercontent.com/96d27742dabd0b2cd8bea423e1e6f43f7581daf4c207a5954405008c9ac6e37b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f79756765732d636f64652f6c61726176656c2d737562736372696261626c652f74657374696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/96d27742dabd0b2cd8bea423e1e6f43f7581daf4c207a5954405008c9ac6e37b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f79756765732d636f64652f6c61726176656c2d737562736372696261626c652f74657374696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)****

 ******Project** [![GitHub Release](https://camo.githubusercontent.com/6a213fd3fb160a6b0f616e5d778a2dafe876b0d733c13c0856895e9e31000a55/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f79756765732d636f64652f6c61726176656c2d737562736372696261626c65)](https://camo.githubusercontent.com/6a213fd3fb160a6b0f616e5d778a2dafe876b0d733c13c0856895e9e31000a55/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f79756765732d636f64652f6c61726176656c2d737562736372696261626c65) [![Packagist Downloads](https://camo.githubusercontent.com/7339c9ef1b03ad2bce3dc3255a381696d75e93e386ad35dd182af899746ad620/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79756765732d636f64652f6c61726176656c2d737562736372696261626c65)](https://camo.githubusercontent.com/7339c9ef1b03ad2bce3dc3255a381696d75e93e386ad35dd182af899746ad620/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79756765732d636f64652f6c61726176656c2d737562736372696261626c65) [![GitHub License](https://camo.githubusercontent.com/d570be0661aa0ae55a7016f8145cf5b6f9fe6805af7aad3f42668d3560ca81b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f79756765732d636f64652f6c61726176656c2d737562736372696261626c65)](https://camo.githubusercontent.com/d570be0661aa0ae55a7016f8145cf5b6f9fe6805af7aad3f42668d3560ca81b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f79756765732d636f64652f6c61726176656c2d737562736372696261626c65) [![Packagist Stars](https://camo.githubusercontent.com/d1202c4c8d6e5102b31910c85437d8311f7015828873dae46801f0a4b37c2b98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f79756765732d636f64652f6c61726176656c2d737562736372696261626c65)](https://camo.githubusercontent.com/d1202c4c8d6e5102b31910c85437d8311f7015828873dae46801f0a4b37c2b98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f79756765732d636f64652f6c61726176656c2d737562736372696261626c65) [![Packagist Dependency Version](https://camo.githubusercontent.com/8239184511b9e418aea9288b16aba5457c308a893c0f7f199e3d29a415d4e443/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f79756765732d636f64652f6c61726176656c2d737562736372696261626c652f706870)](https://camo.githubusercontent.com/8239184511b9e418aea9288b16aba5457c308a893c0f7f199e3d29a415d4e443/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f79756765732d636f64652f6c61726176656c2d737562736372696261626c652f706870)

 **Quality**

Laravel Subscribable
====================

[](#laravel-subscribable)

### 🔔 Package for easily attaching subscriptions to Laravel eloquent models

[](#-package-for-easily-attaching-subscriptions-to-laravel-eloquent-models)

💿 Installation
==============

[](#-installation)

### → Composer

[](#-composer)**** You can install the package via composer:

```
composer require yuges-code/laravel-subscribable

```

### → Publishing Config

[](#-publishing-config)

Publishing the config file (config/subscribable.php) is optional:

```
php artisan vendor:publish --provider="Yuges\Subscribable\Providers\SubscribableServiceProvider" --tag="subscribable-configs"

```

### → Publishing Migrations

[](#-publishing-migrations)

You need to publish the migration to create the subscriptions table:

```
php artisan vendor:publish --provider="Yuges\Subscribable\Providers\SubscribableServiceProvider" --tag="subscribable-migrations"

```

### → Running Migrations

[](#-running-migrations)

After that, you need to run migrations:

```
php artisan migrate

```

🧪 Running Tests
===============

[](#-running-tests)

### → PHPUnit tests

[](#-phpunit-tests)

To run tests, run the following command:

```
composer test

```

⚖️ License
==========

[](#️-license)

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

🙆🏼‍♂️ Authors Information
=========================

[](#‍️-authors-information)

Created in 2025 by:

- [Yuges-code](https://github.com/yuges-code)
- [All Contributors](../../contributors)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance49

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~14 days

Total

4

Last Release

377d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1aed716bd0f2c595ae974ee3aebc6f4c1488f8e5851c754a05a3467a0b70ed23?d=identicon)[yuges-code](/maintainers/yuges-code)

---

Top Contributors

[![goshasafonov](https://avatars.githubusercontent.com/u/48834605?v=4)](https://github.com/goshasafonov "goshasafonov (20 commits)")[![yuges-code](https://avatars.githubusercontent.com/u/186908593?v=4)](https://github.com/yuges-code "yuges-code (5 commits)")

---

Tags

laravelmorphablepackagephpsubscriptionsyugesphplaravelpackagesubscriptionsyuges

### Embed Badge

![Health badge](/badges/yuges-code-laravel-subscribable/health.svg)

```
[![Health](https://phpackages.com/badges/yuges-code-laravel-subscribable/health.svg)](https://phpackages.com/packages/yuges-code-laravel-subscribable)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[tomatophp/filament-users

Manage your users with a highly customizable user resource for FilamentPHP with integration of filament-shield and filament-impersonate

90102.0k7](/packages/tomatophp-filament-users)

PHPackages © 2026

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