leek / filament-subtenant-scope
PublicSecond-level tenancy scope (service area, region, location) for Filament panels — topnav dropdown that scopes Eloquent queries globally.
Filament plugin adding a topnav dropdown for subtenant scoping that automatically filters all panel queries, widgets, badges, and searches to a selected subgroup like a service area or region.
How It Works
While managing a multi-company dashboard, you learn about a simple way to add dropdown filters for subgroups like branches or service areas.
Follow the quick setup guide to bring this filtering tool into your dashboard.
Describe your filter options, such as service areas or regions, and link them to your data.
Choose which sections like lists or reports should automatically use the selected filter.
Open your dashboard and see the handy dropdown appear in the top menu next to search.
Click the dropdown, pick a branch, and watch all views, counts, and searches narrow to just that group instantly.
Bookmark or send the page URL - it keeps the filter active for others too.
Your team effortlessly switches contexts, always viewing the most relevant business data without extra clicks.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.