gitextract_nf3oca15/ ├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── config/ │ └── multitenancy.php ├── migrations/ │ └── create_tenants_table.php.stub ├── phpunit.xml ├── src/ │ ├── Commands/ │ │ ├── AssignAdminPrivileges.php │ │ ├── InstallCommand.php │ │ ├── MigrationMakeCommand.php │ │ └── stubs/ │ │ └── add_tenancy_to_table.stub │ ├── Contracts/ │ │ └── Tenant.php │ ├── Exceptions/ │ │ ├── TenantDoesNotExist.php │ │ └── UnauthorizedException.php │ ├── Middleware/ │ │ ├── GuestTenantMiddleware.php │ │ └── TenantMiddleware.php │ ├── Models/ │ │ └── Tenant.php │ ├── Multitenancy.php │ ├── MultitenancyFacade.php │ ├── MultitenancyServiceProvider.php │ └── Traits/ │ ├── BelongsToTenant.php │ └── HasTenants.php └── tests/ ├── Databases/ │ └── MigrateDatabaseTest.php ├── Feature/ │ ├── BelongsToTenantTest.php │ ├── Commands/ │ │ ├── AssignAdminPrivilegesTest.php │ │ ├── InstallCommandTest.php │ │ └── MigrationMakeCommandTest.php │ ├── GateTest.php │ ├── HasTenantTest.php │ ├── Middleware/ │ │ ├── GuestMiddlewareTest.php │ │ └── TenantMiddlewareTest.php │ ├── MultitenancyTest.php │ └── TenantTest.php ├── Fixtures/ │ ├── Controllers/ │ │ ├── ProductController.php │ │ └── UserController.php │ ├── Policies/ │ │ └── ProductPolicy.php │ ├── Product.php │ └── User.php └── TestCase.php