mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:34:05 +00:00
Automatic multi-tenancy for Laravel. No code changes needed.
https://tenancyforlaravel.com
Fixes #158 If config('tenancy.seeder_class') is null or a blank string, the seeder-class parameter is not passed, and therefore Laravel's default option of calling 'DatabaseSeeder' will occur. As with Laravel's normal seeding process, the class is treated as the "root" seeder class, which can call other seeder classes in turn. |
||
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| assets | ||
| src | ||
| tests | ||
| .gitignore | ||
| .styleci.yml | ||
| .travis.yml | ||
| composer.json | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| fulltest | ||
| LICENSE | ||
| phpunit.xml | ||
| README.md | ||
| test | ||
stancl/tenancy
Automatic multi-tenancy for your Laravel app.
You won't have to change a thing in your application's code.
- ✔️ No model traits to change database connection
- ✔️ No replacing of Laravel classes (
Cache,Storage, ...) with tenancy-aware classes - ✔️ Built-in tenant identification based on hostname (including second level domains)
Documentation
Documentation can be found here: https://tenancy.samuelstancl.me/docs/v2/
The repository with the documentation source code can be found here: stancl/tenancy-docs.