laravel-subscriptions
laravel-subscriptions copied to clipboard
Laravel Subscriptions is a flexible plans and subscription management system for Laravel.
This error is in Model Plan, ``` protected static function boot(): void { parent::boot(); static::deleted(function (Plan $plan): void { $plan->features()->delete(); $plan->planSubscriptions()->delete(); }); } ``` For solved it you only need...
Could you kindly incorporate support for Laravel 11, please? Thanks
It's possible to set dynamic price when assign suscription?? For example set plan suscription for sell domain but the price depending of TLD, in other case prices MXN depending the...
When executing command "php artisan publish:laravel-subscriptions" I`m getting error: "There are no commands defined in the "publish" namespace."
If I have an invoices app so : Plan 1 is 10$ with 30 invoices Plan 2 20$ with 100 invoices Each extra invoice is 0.1$ how can i handle...
Hello guys, I am really having trouble getting the user subscription, it always returns null even though the user was subscribed already, I have checked the sdubscriptions table on database...
Technically the model class will never not have a type, so we can remove the tap here. The tap was resetting the query, causing it to lose the "where slug...
The `canUseFeature` method is returning the first record in the database instead of filtering based on the `slug`. This is because the query is being applied to a fresh instance...
It is initially unclear that the problem stems from Models using HasUuids still casting relation IDs to integers with $casts. This relation_id casting is unnecessary, so it would be better...