PHPackages                             ept-kl/laravel-soulbscription - 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. ept-kl/laravel-soulbscription

ActiveLibrary[Payment Processing](/categories/payments)

ept-kl/laravel-soulbscription
=============================

A fork repo from lucasdotvin/laravel-soulbscription

v1.0.0(1y ago)03MITPHPPHP ^8.0|^8.1|^8.2|^8.3|^8.4

Since Mar 13Pushed 1y agoCompare

[ Source](https://github.com/ept-kl/laravel-soulbscription)[ Packagist](https://packagist.org/packages/ept-kl/laravel-soulbscription)[ Docs](https://github.com/ept-kl/laravel-soulbscription)[ GitHub Sponsors](https://github.com/lucasdotvin)[ RSS](/packages/ept-kl-laravel-soulbscription/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Laravel Soulbscription
======================

[](#laravel-soulbscription)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d949350e28969026a811170561319687919e9093ab828b8a463c5337895dd863/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c75636173646f7476696e2f6c61726176656c2d736f756c62736372697074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lucasdotvin/laravel-soulbscription)[![run-tests](https://github.com/lucasdotvin/laravel-soulbscription/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/lucasdotvin/laravel-soulbscription/actions/workflows/run-tests.yml)[![](https://camo.githubusercontent.com/ce157bc7b98bd4b03f74d95cdc8eebedec5e73bf8cd9e8f02609582de286012c/68747470733a2f2f636f6465636f762e696f2f67682f6c75636173646f7476696e2f6c61726176656c2d736f756c62736372697074696f6e2f6272616e63682f646576656c6f702f67726170682f62616467652e7376673f746f6b656e3d394e5559593145323844)](https://codecov.io/gh/lucasdotvin/laravel-soulbscription)[![Check & fix styling](https://github.com/lucasdotvin/laravel-soulbscription/actions/workflows/php-cs-fixer.yml/badge.svg?branch=main)](https://github.com/lucasdotvin/laravel-soulbscription/actions/workflows/php-cs-fixer.yml)[![Total Downloads](https://camo.githubusercontent.com/ef49be4e11dbd797e51c4480196f9eec783ece7c84914cb89d4ff7b855146858/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c75636173646f7476696e2f6c61726176656c2d736f756c62736372697074696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lucasdotvin/laravel-soulbscription)

About
-----

[](#about)

A straightforward interface to handle subscriptions and features consumption.

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

[](#installation)

You can install the package via composer:

```
composer require lucasdotvin/laravel-soulbscription
```

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
```

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
```

> Check out the available upgrade migrations by looking at the [upgrades folder](https://github.com/lucasdotvin/laravel-soulbscription/tree/develop/database/migrations/upgrades).

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):

```
