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

ActiveLibrary[Payment Processing](/categories/payments)

typicms/subscriptions
=====================

10.0.2(3y ago)31412MITPHPCI failing

Since Jan 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/typicms/subscriptions)[ Packagist](https://packagist.org/packages/typicms/subscriptions)[ GitHub Sponsors](https://github.com/typicms)[ RSS](/packages/typicms-subscriptions/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (3)Versions (17)Used By (0)

Subscriptions
=============

[](#subscriptions)

[![](screenshot.png)](screenshot.png)

This module is part of [TypiCMS](https://github.com/TypiCMS/Base), a multilingual CMS based on the [Laravel framework](https://github.com/laravel/framework).

It allows you to setup a subscriptions management system based on [Laravel Cashier for Mollie](https://github.com/laravel/cashier-mollie).

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

[](#installation)

### Prerequisites

[](#prerequisites)

- You must have a working installation of TypiCMS
- Make sure your `APP_URL` in `.env` is correctly set.

### Install the package

[](#install-the-package)

```
composer require typicms/subscriptions
```

### Add the service provider:

[](#add-the-service-provider)

```
// config/app.php

/*
 * TypiCMS Modules Service Providers.
 * Here is the place for your modules,
 * they should be set before Core Service provider.
 */
…
TypiCMS\Modules\Subscriptions\Providers\ModuleServiceProvider::class,
…
```

### Configure your app

[](#configure-your-app)

Add the cashier model and the mollie key in your `.env` environment file:

```
CASHIER_MODEL=TypiCMS\Modules\Core\Models\User
MOLLIE_KEY="test_12345678912345678912345678912345"
```

### Publish the Users module and add the BillableUser trait to the User model.

[](#publish-the-users-module-and-add-the-billableuser-trait-to-the-user-model)

```
php artisan typicms:publish Users
```

Modify the User model like this:

```
…
use TypiCMS\Modules\Subscriptions\Traits\BillableUser;
…
class User extends Model implements …
{
    …
    use BillableUser;
    …
}
```

[More information can be found here](https://github.com/TypiCMS/Base#publish-a-module)

### Mass-assignement

[](#mass-assignement)

If needed, allow the following fields to be fillable.

```
protected $fillable = [
     'tax_percentage',
     'mollie_customer_id',
     'mollie_mandate_id',
     'tax_percentage',
     'trial_ends_at',
     'extra_billing_information'
 ];
```

### Run the installation script

[](#run-the-installation-script)

Install Cashier and migrate the database.

```
php artisan subscriptions:install
```

### Import the scss files

[](#import-the-scss-files)

Edit `resources/scss/public.scss` and add:

```
@import 'public/account';
@import 'public/plan-list';
```

Run `npm run dev` to compile the public.css file.

### Configure Cashier

[](#configure-cashier)

Configure your subscription plans in `config/cashier_plans.php`.

Manage any coupons in `config/cashier_coupons.php`. By default an example coupon is enabled, consider disabling it before deploying to production.

### Setup your app

[](#setup-your-app)

Create a page linked to the Subscriptions module and navigate to it.

### Pre-build Plans Template

[](#pre-build-plans-template)

Quickly build an effective pricing table for your potential customers with the template created under `/plans` and linked to the `PublicController@plans` controller.

### Customize Invoices

[](#customize-invoices)

Copy the Cashier package views using the following command:

```
php artisan vendor:publish --provider="Laravel\Cashier\CashierServiceProvider" --tag="cashier-views"
```

You can customize the `/resources/views/vendor/cashier/` files as you like.

### Tax Management

[](#tax-management)

To specify the tax percentage a user pays on a subscription, edit the `tax_percentage` column for the user in the database.

The displayed price on the subscription has built-in tax calculation.

Additional information
----------------------

[](#additional-information)

[Read the cashier-mollie documentation](https://github.com/laravel/cashier-mollie)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 90.5% 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 ~50 days

Recently: every ~110 days

Total

16

Last Release

1208d ago

Major Versions

9.0.11 → 10.0.02022-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/b93740e4c6b40a6219441696db5db9c4b635dad91339c1893dfe0813434e8d94?d=identicon)[Samuel De Backer](/maintainers/Samuel%20De%20Backer)

---

Top Contributors

[![sdebacker](https://avatars.githubusercontent.com/u/134503?v=4)](https://github.com/sdebacker "sdebacker (249 commits)")[![AlexisSerneels](https://avatars.githubusercontent.com/u/287688?v=4)](https://github.com/AlexisSerneels "AlexisSerneels (25 commits)")[![nunofmmarques](https://avatars.githubusercontent.com/u/15314558?v=4)](https://github.com/nunofmmarques "nunofmmarques (1 commits)")

---

Tags

cashiermolliesubscriptionstypicms

### Embed Badge

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

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

###  Alternatives

[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)[duncanmcclean/simple-commerce

A simple, yet powerful e-commerce addon for Statamic.

16313.2k2](/packages/duncanmcclean-simple-commerce)[ssheduardo/redsys-laravel

Package redsys for laravel

100129.5k1](/packages/ssheduardo-redsys-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

322.8k](/packages/duncanmcclean-statamic-cargo)[tsaiyihua/laravel-ecpay

ecpay library for laravel

6416.3k](/packages/tsaiyihua-laravel-ecpay)[wandesnet/mercadopago-laravel

PHP SDK for integration with Mercado Pago

252.4k](/packages/wandesnet-mercadopago-laravel)

PHPackages © 2026

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