├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── art ├── socialcard-dark.png └── socialcard-light.png ├── composer.json ├── config └── tenant-aware.php ├── database └── factories │ ├── ArticleFactory.php │ └── TenantFactory.php ├── phpstan-baseline.neon ├── phpstan.neon.dist └── src ├── Actions ├── TenantCurrentAction.php ├── TenantCurrentOrLandlordAction.php ├── TenantLandlordAction.php └── TenantOnlyCurrentAction.php ├── BelongsToTenant.php ├── Exceptions └── InvalidConfig.php ├── Listeners └── SetTenantKey.php ├── Scopes ├── ScopeMethod.php ├── ScopeOrTenantWhere.php ├── ScopeTenantAware.php └── ScopeTenantWhere.php ├── Support └── Config.php ├── TenantAwareScope.php └── TenantAwareServiceProvider.php /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/README.md -------------------------------------------------------------------------------- /art/socialcard-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/art/socialcard-dark.png -------------------------------------------------------------------------------- /art/socialcard-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/art/socialcard-light.png -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/composer.json -------------------------------------------------------------------------------- /config/tenant-aware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/config/tenant-aware.php -------------------------------------------------------------------------------- /database/factories/ArticleFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/database/factories/ArticleFactory.php -------------------------------------------------------------------------------- /database/factories/TenantFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/database/factories/TenantFactory.php -------------------------------------------------------------------------------- /phpstan-baseline.neon: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /phpstan.neon.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/phpstan.neon.dist -------------------------------------------------------------------------------- /src/Actions/TenantCurrentAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Actions/TenantCurrentAction.php -------------------------------------------------------------------------------- /src/Actions/TenantCurrentOrLandlordAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Actions/TenantCurrentOrLandlordAction.php -------------------------------------------------------------------------------- /src/Actions/TenantLandlordAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Actions/TenantLandlordAction.php -------------------------------------------------------------------------------- /src/Actions/TenantOnlyCurrentAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Actions/TenantOnlyCurrentAction.php -------------------------------------------------------------------------------- /src/BelongsToTenant.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/BelongsToTenant.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Exceptions/InvalidConfig.php -------------------------------------------------------------------------------- /src/Listeners/SetTenantKey.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Listeners/SetTenantKey.php -------------------------------------------------------------------------------- /src/Scopes/ScopeMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Scopes/ScopeMethod.php -------------------------------------------------------------------------------- /src/Scopes/ScopeOrTenantWhere.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Scopes/ScopeOrTenantWhere.php -------------------------------------------------------------------------------- /src/Scopes/ScopeTenantAware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Scopes/ScopeTenantAware.php -------------------------------------------------------------------------------- /src/Scopes/ScopeTenantWhere.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Scopes/ScopeTenantWhere.php -------------------------------------------------------------------------------- /src/Support/Config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/Support/Config.php -------------------------------------------------------------------------------- /src/TenantAwareScope.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/TenantAwareScope.php -------------------------------------------------------------------------------- /src/TenantAwareServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maize-tech/laravel-tenant-aware/HEAD/src/TenantAwareServiceProvider.php --------------------------------------------------------------------------------