LaravelFilament
Multi Tenancy Setup Question
Thank you for your answer. What if you want to go has many (business many users) Would you still go as Team the Tenant?
There is no structure yet - its a new app I am starting with - so busy brainstorming 🙂
I was thinking setup BusinessPanel and TeamPanel - each being 'tenants' - Not sure if filament supports that out of the box.
So the url can then be /business/1 -- manage business/teams, etc
/business/1/team/1 -- the teams information here...
So the user can switch between teams under /business/1.
And update the BusinessPanel tenant to only have one user (can only belong to 1 business)
Or I handle that myself with a middleware in the both panels to store it in the session. But yes - the other way might be multiple tenancy database setup. Them the subdomain is the business and TeamPanel is tenant - trying to avoid that if needed for the proof of concept...
Why I confused myself and hope some ideas/nudged in the more appropriate direction here...
Thanks!
6 replies