Download the PHP package laravel-afterburner/subscriptions without Composer
On this page you can find all versions of the php package laravel-afterburner/subscriptions. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-afterburner/subscriptions
More information about laravel-afterburner/subscriptions
Files in laravel-afterburner/subscriptions
Package subscriptions
Short Description Stripe subscription billing for Afterburner applications
License MIT
Informations about the package subscriptions
Afterburner Subscriptions Package
Stripe subscription billing for Laravel Afterburner Jetstream. Each entity is the billable customer.
Installation
Local Development Setup
For local development, add the package as a path repository:
Quick Install
Add Afterburner\Subscriptions\Concerns\HasSubscriptions to App\Models\Team.
Register EnsureSubscriptionActive on authenticated web routes (middleware alias: subscription.active).
Documentation
See INSTRUCTIONS.md for the full build specification and host integration checklist.
Features
- 30-day auto trial on new entities (full product access during trial; no card required)
- Monthly and annual plans (admin-managed, Stripe-synced)
- Plan entitlements (limits + feature slugs) via
PlanEntitlements/$team->entitlements() SubscriptionEntitlementGatefor add-on packages to gate features by plan- Promotion codes (admin-managed, Stripe-synced, optional at checkout)
- Entity subscription manager with Stripe Checkout and billing portal
- Invoice history via Cashier
- Hard app block when subscription inactive
- Billing notification emails to owner, president, and treasurer
- Audit log entries for subscribe, payment failed, and cancellation (when host
AuditServiceis available)
Entitlement gating for add-on packages
Add-on packages (documents, voting, etc.) should not hard-require this package. Use SubscriptionEntitlementGate at routes, policies, navigation, and mutation points:
On teams using HasSubscriptions, convenience methods are also available:
Route middleware (alias registered by this package):
Laravel gate for policies:
Register each add-on's slug in the host config/afterburner-subscriptions.php → known_feature_slugs so admins can assign features to plans.
Trial behavior: With trial_full_access enabled (default), entities on a generic trial bypass entitlement checks so they can explore all features. After trial, access is enforced by the subscribed plan.
App-wide block: EnsureSubscriptionActive (host registers) blocks the entire app when billing is inactive. Entitlement checks are per-feature and complementary.
License
MIT License
All versions of subscriptions with dependencies
laravel/cashier Version ^15.0
laravel/framework Version ^11.0
laravel-afterburner/jetstream Version ^1.0|dev-master
livewire/livewire Version ^3.5