What Subscribd does
Subscribd lets you attach billing to any Eloquent model (yourUser, Team, Organization, or anything else) by implementing one contract and adding one trait. Once a model is billable, you subscribe it to a plan, check its entitlements, charge it one-off amounts, and cancel or swap plans — all through the Subscribd facade.
Plans are defined in config/subscribd.php and synced to your database, so your plan catalog lives in version control alongside your application code.
Key features
Multiple payment gateways
Built-in drivers for Stripe, PayPal, and Braintree. Switch gateways with a single
.env change, or register a custom driver for any provider.Flexible pricing models
Define flat-rate, per-seat, tiered, and metered plans. All prices are stored in minor currency units (cents) for precision.
Entitlements
Gate features and enforce per-plan limits using a simple, expressive API that reads directly from the plan’s
features configuration.Livewire and Blade components
Drop-in
<livewire:subscribd::plan-picker />, <livewire:subscribd::checkout />, <livewire:subscribd::invoice-history />, and more — all themeable via CSS custom properties.Requirements
- PHP 8.3 or higher
- Laravel 12 or higher
- Stripe is included by default (
stripe/stripe-php ^16.0). PayPal credentials are configured via.env. Braintree requires an additionalcomposer require braintree/braintree_phpstep. - Livewire (
^3.5|^4.0) is required only if you use the shipped Livewire components.
Subscribd is a proprietary package distributed by Pixelworxio. You must add the private repository to your
composer.json before running composer require. See the installation guide for the exact configuration.Where to go next
Installation
Add the private Composer repository, require the package, and run the installer.
Quickstart
Go from a fresh install to a working subscription in under 5 minutes.
Billable models
Learn how to attach billing to any Eloquent model in your application.
Gateway configuration
Configure Stripe, PayPal, or Braintree, or register a custom gateway driver.