composer.json so Composer knows where to fetch it. After that, the subscribd:install artisan command publishes the config and migrations in one step, and you are ready to start defining plans.
Subscribd requires PHP 8.3+ and Laravel 12+. Confirm your application meets these requirements before proceeding.
Register the private repository
Open your project’s Composer reads this entry when resolving the
composer.json and add the Pixelworxio VCS source to the repositories array. If the key does not already exist, add it at the top level.composer.json
pixelworxio/subscribd package name.Require the package
Run the standard Composer require command. Composer will authenticate against the VCS source and download the package along with its dependencies.The service provider and the
Subscribd and Entitlements facade aliases are registered automatically via Laravel’s package auto-discovery.Run the installer
The After the command completes you will find
subscribd:install command publishes the configuration file and all migration stubs to your project in one step.config/subscribd.php in your project. Open it to review the default gateway, currency, and dunning settings before running migrations.Run the migrations
Apply the Subscribd database migrations. The package ships all required migration files that create tables for plans, subscriptions, invoices, payment methods, and more.
What gets installed
After the installer runs, the following files are added to your project:| File | Purpose |
|---|---|
config/subscribd.php | Gateway credentials, plan definitions, dunning config, billable types |
database/migrations/subscribd_* | Eleven migration files for all Subscribd tables |
Next steps
- Follow the quickstart to make your first model billable and create a subscription.
- Configure your payment gateway credentials in
.env. See Gateway configuration for.envexamples for Stripe, PayPal, and Braintree.