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.
Security and release-hygiene improvements:
run-tests (PHP 8.2–8.4 × Laravel 11–13) and code-style (Pint), with all GitHub Actions pinned to commit SHAsSECURITY.md with private vulnerability reporting instructions.gitattributes export-ignore rules keep tests, CI config, and build tooling out of Composer installsFull Changelog: https://github.com/leek/filament-subtenant-scope/compare/v1.0.1...v1.0.2
Docs / metadata only — no code or behavior changes.
composer.json suggest entries pointing at companion plugins (sorted alphabetically).Initial release.
Second-level tenancy scope for Filament panels. Adds a topnav dropdown that scopes Eloquent queries globally — service area, region, location, branch, department.
GLOBAL_SEARCH_BEFORE)HasSubtenantScopes trait — opt resources in via FK column or custom join method?scope_<key>=<id>composer require leek/filament-subtenant-scope
See README for panel theme [@source](https://github.com/source) directive and full usage.
How can I help you explore Laravel packages today?