leek/filament-subtenant-scope
Adds second-level tenancy to Filament panels with a top-nav dropdown that scopes all Eloquent queries to a sub-tenant (region, location, department, etc.). Persists via session/URL and auto-filters resources, widgets, badges, and global search.
->where('region_id', $subTenant))."This package lets us add a second layer of data segmentation—like filtering by region or department—without rewriting every query. Imagine giving admins a dropdown to switch between ‘North America’ and ‘Europe’ views, with all dashboards, searches, and lists auto-updating. It’s like multi-tenancy for sub-groups, built in hours not months. Low risk (MIT license), high ROI for SaaS scalability."
*"A drop-in solution for global sub-tenant scoping in Filament:
->where() calls across models.?subtenant=region_id to URLs.How can I help you explore Laravel packages today?