Subscription Kit by Ihor K.
CommunityLaravel subscriptions with a ready-to-use Filament UI. Replace days of custom billing logic with a working setup on top of Stripe (Cashier). - Skip custom subscription logic - Skip building pricing UI - Skip wiring Stripe webhooks manually
Author:
Ihor K.
Package health
Automated checks of this plugin's Composer package
15 checks
- Passed: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Passed: Dependabot or Renovate configured
- Passed: Dependency update cooldown configured
- Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 0 days ago; last release 35 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
— Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
— Constraint
^8.4supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
Laravel subscriptions with a ready-to-use Filament UI.
Replace days of custom billing logic with a working setup on top of Stripe (Cashier).
- Skip custom subscription logic
- Skip building pricing UI
- Skip wiring Stripe webhooks manually
SubKit provides a Filament admin panel to manage plans and plan sets, themeable Blade components for your pricing page and subscription dashboard, and a clean PHP API for subscription lifecycle operations.
Why use SubKit? While Laravel Cashier is incredibly powerful, building the actual UI and admin panel for subscriptions takes days. SubKit bridges this gap by providing a "Lickable UI" out of the box and a powerful Filament admin to manage it all without writing boilerplate code.
#What it does
- Integrates with Stripe via Laravel Cashier (webhooks, checkout sessions, billing portal)
- Provides a Filament admin panel to manage Plans, Plan Sets, Provider Prices, Features, Limits, and Top-ups
- Provides Blade components: a pricing table, a subscription management UI, personal offers, and Top-up snippets, with multiple themes
- Exposes a PHP facade and REST API for subscription operations (checkout, cancel, resume, billing portal)
- Exposes runtime plan limits (e.g.
max_locations,max_users) via aHasCapabilitiestrait with built-in caching - Supports private plans assigned to specific users, and free ($0) plans that activate without Stripe Checkout
- Sells one-off Top-ups (credit packs, consumables) through the provider's hosted checkout and fires a
TopUpPurchasedevent - Lets you attach metadata and Stripe Connect options (
transfer_data,application_fee_percent) to checkouts through a server-side checkout hook
#Live Demo
Try it in action: subkit.noxls.net
- Register a test account to explore the customer billing flow.
- Once registered, navigate to
/adminto check out the Filament control panel.
#What it does NOT do
- Process payments or store card data
- Replace Stripe or Laravel Cashier — it orchestrates on top of them
- Handle invoicing, taxes, or compliance
- Track balances or credits for Top-ups (your app owns the balance)
- Manage user authentication or access control (your app's policies decide who may use the admin, see Access control)
#Requirements
- PHP 8.4+, Laravel 12+
- Laravel Cashier (
laravel/cashier^16.5) and Filament (filament/filament^5.0) - MySQL 8+ (or MariaDB 10.5+)
- A Stripe account
#Quick start
composer require karpovigorok/subkit
php artisan vendor:publish --tag=subkit-config
php artisan vendor:publish --tag=subkit-migrations
php artisan migrate
Register the plugin in your Filament panel provider, make your User use Cashier's Billable trait, and set STRIPE_KEY, STRIPE_SECRET and STRIPE_WEBHOOK_SECRET:
->plugin(\SubKit\Filament\SubKitPlugin::make());
Create a plan in the admin panel (/admin), then drop the pricing table into any Blade view:
<x-subkit::pricing-table
success-url="{{ route('dashboard') }}"
cancel-url="{{ route('pricing') }}"
/>
#Documentation
Full docs: subkit.noxls.net/docs (Markdown sources also live in docs/ on GitHub).
#Testing
composer test
#License
MIT
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
Sharp Theme
A theme that gives panels a precise, technical look with square corners, strong borders, and clear contrast.
Filament
