Installation
Get Subscribd installed and configured in a few minutes.Requirements
- PHP 8.3 or higher
- Laravel 12 or 13
- A supported database (MySQL, PostgreSQL, or SQLite)
Install via Composer
Subscribd is distributed through a private Composer repository. Add the repository and require the package:Subscribd and Entitlements.
Publish assets
Configuration
config/subscribd.php. At minimum, set your default gateway and currency:
Migrations
| Table | Purpose |
|---|---|
subscribd_plans | Plan definitions synced from config |
subscribd_plan_items | Composable add-ons per plan |
subscribd_subscriptions | Active and historical subscriptions |
subscribd_subscription_items | Per-subscription PlanItem quantities |
subscribd_invoices | All charges and their status |
subscribd_invoice_lines | Line items on each invoice |
subscribd_payment_methods | Stored customer payment instruments |
subscribd_coupons | Discount codes |
subscribd_credits | Account credit balance |
subscribd_usage_records | Metered billing usage |
subscribd_webhook_events | Idempotent webhook log |
Livewire components and views
resources/views/vendor/subscribd/.
Translation files
lang/vendor/subscribd/. Ships with en, es, fr, de, and zh-CN.
Environment variables
Add your gateway credentials to.env. Only the gateway you intend to use is required:
Sync plans
After publishing the configuration and defining your plans, sync them to the database:subscribd_plans and subscribd_plan_items tables from your config/subscribd.php plans array.
Run the health check
Verify the installation and gateway connectivity:Schedule recurring commands
Add the following to yourroutes/console.php (or app/Console/Kernel.php on Laravel 10) to enable dunning, trial expiry, and ARR snapshots:
Next steps
- Billable Models — Make your User model billable
- Plans — Define your pricing tiers
- Stripe Gateway — Configure Stripe with checkout modes and webhooks