Alkalyon
Alkalyon
Explore posts from servers
FFilament
Created by Alkalyon on 10/3/2024 in #❓┊help
Simple Multi-Tenancy and billing
I am trying to set up multi-tenancy on my project but I'm having trouble with understanding the documentation. Mainly my issue is the following. In multi-tenancy it tells you to not use the ->tenant(Team::class); if you only have a simple one-to-many tenancy which I do have, but I fail to understand how I would use the ready-made solution to Laravel Spark since it uses ->tenantBillingProvider() (https://filamentphp.com/docs/3.x/panels/tenancy#using-laravel-spark) if I don't have the ->tenant() in the first place. My tenant model is Account which has many Users and that's it. TL:DR how do you use Laravel Spark with simple one-to-many tenancy?
1 replies