lacodix/laravel-plans
Laravel package to manage SaaS plans, addons, subscriptions, and optional features. Supports countable/uncountable features with limits, resets, and consumption across plans, plus translations, ordering, and metadata—billing/invoicing not included.
plans, features, subscriptions, and user_plan pivot tables. Assumes a relational database (MySQL/PostgreSQL), but schema can be adapted for other DBs.PlanSubscribed, SubscriptionCancelled). Requires minimal customization for gateway-specific logic.Billing Integration:
Feature Management:
Data Migration:
Scaling:
Customization:
countable/uncountable model.FeatureUsed) where applicable.auth and database components. No hard dependencies on other packages.plans and subscriptions.PremiumFeatureMiddleware).SubscriptionExpired).lacodix/laravel-plans for breaking changes (MIT license allows forks if needed).subscriptions.user_id and subscriptions.status for fast lookups.PlanSubscribed) to avoid blocking requests.user_plan pivot table growth. Archive old subscriptions if retention policies allow.authorize() method for clarity.How can I help you explore Laravel packages today?