PHPackages                             cleaniquecoders/subscriptions - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cleaniquecoders/subscriptions

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

cleaniquecoders/subscriptions
=============================

Packages for Saas web Applications. Built with Laravel Standalone Package Creator

v1.0.3(9y ago)1301MITPHP

Since Dec 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/cleaniquecoders/subscriptions)[ Packagist](https://packagist.org/packages/cleaniquecoders/subscriptions)[ RSS](/packages/cleaniquecoders-subscriptions/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (5)Used By (0)

About Your Package
------------------

[](#about-your-package)

Tell people about your package

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

[](#installation)

Require the package by running the following command:

```
composer require cleaniquecoders/subscriptions

```

Open up `config/app.php` and add the following in the `providers` key:

```
CleaniqueCoders\Subscriptions\SubscriptionsServiceProvider::class,
```

Register Subscriptions Middleware in `app\Http\Kernel.php`

```
'subscription' => \CleaniqueCoders\Subscriptions\Http\Middleware\PackageSubscription::class,
```

Run the following command to register all the subscription routes in `routes/web.php` and publish the `config/subscription.php`, `subscriptions` views and `seeds`.

```
php artisan subscription:install

```

Usage
-----

[](#usage)

### Seeder

[](#seeder)

Open up `database/seeds/PackageSeeder.php` and update your SaaS Packages accordingly and run `php artisan db:seed --class=PackageSeeder`.

### Trait

[](#trait)

You may add `use CleaniqueCoders\Traits\Subscriptions\User as Subscription;` in your `User` model class to enable relationship between user and subscribed package.

### Middleware

[](#middleware)

```
Route::group(['middleware' => ['auth', 'subscription']], function () {
            Route::resource('secrets', 'YourSecretController');
});
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

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

Total

4

Last Release

3426d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/cleaniquecoders-subscriptions/health.svg)

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k51.0M7.7k](/packages/larastan-larastan)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[spatie/laravel-health

Monitor the health of a Laravel application

87411.3M154](/packages/spatie-laravel-health)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

198306.8k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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