Skip to main content
If your application uses Filament, Subscribd automatically registers two admin resources — PlanResource and SubscriptionResource — with no extra configuration required. These resources integrate directly into your existing Filament panel and provide create/edit forms, filterable tables, and action buttons for common billing operations.

What is included

PlanResource

Create, edit, and deactivate subscription plans from the Filament panel. Displays all plan details including pricing rule, interval, trial days, and features.

SubscriptionResource

Browse and filter all subscriptions by status. Perform cancel, resume, and plan-swap actions directly from the table row or detail view.

What the resources provide

  • Forms — full create and edit forms for plans and subscriptions, with validation matching the package’s own rules
  • Table filters — filter subscriptions by status (active, trialing, past_due, paused, canceled), gateway, and plan
  • Action buttons — cancel, resume, and swap plan actions available directly on each subscription row, with confirmation dialogs

Auto-registration

Subscribd detects whether Filament is installed by checking for the filament/filament package at runtime. If Filament is present, both resources are registered automatically through the package’s service provider. You do not need to add them to your Filament panel’s resources array.
Auto-registration works with Filament v3. If you are using an older version of Filament, upgrade to v3 before using the Subscribd resources.

Installation

No extra configuration is needed beyond having Filament installed:
1

Install Filament

Follow the Filament installation guide to set up Filament in your Laravel app.
2

Install Subscribd

If you have not already installed Subscribd, run:
composer require pixelworxio/subscribd
php artisan subscribd:install
php artisan migrate
3

Visit your Filament panel

Open your Filament admin panel. The Plans and Subscriptions resources appear automatically in the sidebar.

Disabling the standalone admin panel

When you use Filament resources, disable the built-in Blade admin panel to avoid a duplicate management UI:
config/subscribd.php
'admin' => [
    'enabled' => false,
],
See Admin panel for full details on the standalone panel configuration.

Braintree requirement

If your application uses Braintree as its payment gateway, you must install the Braintree PHP SDK separately. Filament resources work the same across all gateways, but Braintree’s SDK is not bundled with Subscribd:
composer require braintree/braintree_php
Do not skip this step if you use Braintree. Without the SDK, any gateway call initiated from the Filament resources — such as a plan swap or cancellation — will throw a runtime exception.