filament-subtenant-scope
Second-level tenancy scope (service area, region, location) for Filament panels — topnav dropdown that scopes Eloquent queries globally.
File Explorer
- code-style.yml
- run-tests.yml
- dependabot.yml
- selector.blade.php
- selector.blade.php
- HasSubtenantScopes.php
- SubtenantScopeSelector.php
- FilamentSubtenantScopeServiceProvider.php
- SubtenantScope.php
- SubtenantScopeManager.php
- SubtenantScopingPlugin.php
- Region.php
- TestUser.php
- Pest.php
- SubtenantScopeManagerTest.php
- SubtenantScopeTest.php
- SubtenantScopingPluginTest.php
- TestCase.php
- .gitattributes
- .gitignore
- composer.json
- LICENSE.md
- phpunit.xml
- pint.json
- README.md
- SECURITY.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
composer
View Details ▼
composer
A package-based dependency manager for PHP projects.
composer init
Interactively create a `composer.json` file:
composer require {{user/package}}
Add a package as a dependency for this project, adding an entry to `composer.json`:
composer install
Install all the dependencies in this project's `composer.json` and create `composer.lock`:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
php artisan
View Details ▼
php artisan
Laravel's Artisan command-line interface.
php artisan serve
Start PHP's built-in web server for the current Laravel application:
php artisan tinker
Start an interactive PHP command-line interface:
php artisan make:model {{ModelName}} --all
Generate a new Eloquent model class with a migration, factory, and resource controller:
