# Laravel Subby
Laravel Subby is a flexible plans and subscription management system for Laravel. Originally forked from rinvex/laravel-subscriptions (opens new window).
# What it does
The way this package is made:
- There are plans that have features.
- There is an entity (morph) receiving the
trait
HasSubscriptions
(subscriptions). It can be a user, a team, whatever you want; see Attach Subscriptions to model. - This entity can have many subscriptions to one or more plans and use their features and other features not attached to a plan. The subscription is made as a "snapshot" of current plan details. If plan is modified in the future, subscriber's subscription stays as it was, price, invoicing and features are "frozen" unless manually synchronized with related plan.
# Extensions
- Laravel Subby Schedule (opens new window): For scheduling your plan changes in the future.
# Considerations
- Payments and translations are out of scope for this package.
- You may want to extend some core models, in case you need to override the logic behind some helper methods
like
renew()
,cancel()
etc. E.g.: when cancelling a subscription you may want to also cancel the recurring payment attached.
# Changelog
Refer to the Changelog for a full history of the project.
# License
Forked originally from rinvex/laravel-subscriptions (opens new window). Thank you for creating the original!
This software is released under The MIT License (MIT).
© 2020-2021 B. Puig, Some rights reserved.