Skip to main content
Subscribd gives your Laravel application a complete subscription billing system — supporting Stripe, PayPal, and Braintree out of the box. Make any Eloquent model billable, define plans with flat-rate, per-seat, tiered, or metered pricing, and drop pre-built Livewire components directly into your views.

Installation

Add Subscribd to your Laravel app with Composer and run the installer.

Quick Start

Create your first subscription in under 5 minutes.

Pricing Models

Flat-rate, per-seat, tiered, and metered usage billing explained.

API Reference

Full reference for the Subscribd facade, actions, and events.

Get up and running

1

Install the package

Add the private repository and require the package with Composer, then run the installer.
composer require pixelworxio/subscribd
php artisan subscribd:install
php artisan migrate
2

Make a model billable

Implement the Billable contract and use the ManagesBilling trait on your User or Team model.
use Pixelworxio\Subscribd\Concerns\ManagesBilling;
use Pixelworxio\Subscribd\Contracts\Billable;

class User extends Authenticatable implements Billable
{
    use ManagesBilling;

    public function billingEmail(): string { return $this->email; }
    public function billingName(): string  { return $this->name; }
}
3

Define a plan

Add a plan to config/subscribd.php and sync it to the database.
php artisan subscribd:plan sync
4

Subscribe a user

Use the fluent facade to create the first subscription.
use Pixelworxio\Subscribd\Facades\Subscribd;

Subscribd::for($user)->subscribe('starter');

Key features

Multiple Gateways

Switch between Stripe, PayPal, and Braintree — or build your own driver.

Entitlements

Gate features and enforce limits based on a subscriber’s active plan.

UI Components

Drop-in Livewire and Blade components for plan selection, checkout, and invoices.

Webhooks

Idempotent webhook processing with built-in replay support.

Coupons & Discounts

Create percentage and fixed-amount coupons and apply them to subscriptions.

Dunning

Automatic failed-payment retry with configurable retry schedules.