├── .github └── workflows │ └── tests.yml ├── .gitignore ├── CHANGELOG.md ├── README.md ├── composer.json ├── composer.lock ├── phpunit.xml ├── src ├── MultiTenant.php ├── Tenant.php └── TenantScope.php └── tests ├── .gitignore ├── Models ├── Person.php └── Post.php ├── MultiTenantTest.php └── TestCase.php /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/composer.lock -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/MultiTenant.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/src/MultiTenant.php -------------------------------------------------------------------------------- /src/Tenant.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/src/Tenant.php -------------------------------------------------------------------------------- /src/TenantScope.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/src/TenantScope.php -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | /storage 2 | -------------------------------------------------------------------------------- /tests/Models/Person.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/tests/Models/Person.php -------------------------------------------------------------------------------- /tests/Models/Post.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/tests/Models/Post.php -------------------------------------------------------------------------------- /tests/MultiTenantTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/tests/MultiTenantTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solutosoft/laravel-multitenant/HEAD/tests/TestCase.php --------------------------------------------------------------------------------