{"repo":"tomatophp/filament-subscriptions","free":true,"listed":false,"github":"https://github.com/tomatophp/filament-subscriptions","clone":"git clone https://github.com/tomatophp/filament-subscriptions.git","description":"Manage your subscriptions Like Spark for FilamentPHP","language":"PHP","stars":64,"topics":["filament-plugin","payments","subscriptions","tomatophp"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Filament Subscriptions Manage subscriptions and feature access with customizable plans in FilamentPHP thanks for Laravel Subscriptions you can review it before use this package. Screenshots Features - [x] Manage plans - [x] Manage features - [x] Manage subscriptions - [x] multi-tenancy support - [x] Native Filament subscriptions support - [x] Subscription Middleware - [x] Subscription Page like Spark - [x] Subscription Events - [x] Subscription Facade Hook - [ ] Subscription Webhooks - [ ] Subscription Payments Integrations Installation we need the Media Library plugin to be installed and migrated you can use this command to publish the migration now you need to publish your migrations after that please run this command finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php Using now on your User.php model or any auth model you like you need to add this trait To configure the billing provider for your application, use the FilamentSubscriptionsProvider : This setup allows users to manage their billing through a link in the tenant menu. Requiring a Subscription To enforce a subscription requirement for any part of your application, use the requiresTenantSubscription() method: Users without an active subscription will be redirected to the billing page. Register New Subscriber Type You can register new subscriber type by using this code Use custom Billing page You can create your own billing class and register it in config/laravel-subscriptions.php Use Even","default_branch":null,"files":null,"tree":[],"storefront":"/r/tomatophp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tomatophp/filament-subscriptions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}