PHPackages                             vnuswilliams/squarhe-subscription - 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. [Payment Processing](/categories/payments)
4. /
5. vnuswilliams/squarhe-subscription

ActiveLibrary[Payment Processing](/categories/payments)

vnuswilliams/squarhe-subscription
=================================

Laravel package to manage subscriptions, plans and feature usage (SaaS-ready).Laravel package to manage subscriptions, plans and feature usage (SaaS-ready).

v1.1.0(2mo ago)0100[4 PRs](https://github.com/vnuswilliams/squarhe-subscription/pulls)MITPHPPHP ^8.2CI passing

Since May 6Pushed 1mo agoCompare

[ Source](https://github.com/vnuswilliams/squarhe-subscription)[ Packagist](https://packagist.org/packages/vnuswilliams/squarhe-subscription)[ Docs](https://github.com/vnuswilliams/squarhe-subscription)[ GitHub Sponsors](https://github.com/lucasdotvin)[ RSS](/packages/vnuswilliams-squarhe-subscription/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (6)Versions (16)Used By (0)

Laravel Subscription
====================

[](#laravel-subscription)

[](https://packagist.org/packages/vnuswilliams/squarhe-subscription)

About
-----

[](#about)

A straightforward interface to handle subscriptions and features consumption.

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

[](#installation)

You can install the package via composer:

```
composer require vnuswilliams/squarhe-subscription
```

The package migrations are loaded automatically, but you can still publish them with this command:

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

if you use gate and policies, you can Publish Subscription policy

```
php artisan vendor: publish --tag="soulbscription-policies"
```

Upgrades
--------

[](#upgrades)

If you already use this package and need to move to a newer version, don't forget to publish the upgrade migrations:

```
php artisan vendor:publish --tag="soulbscription-migrations-upgrades-1.x-2.x"
php artisan migrate
```

Usage
-----

[](#usage)

To start using it, you just have to add the given trait to your `User` model (or any entity you want to have subscriptions):

```
