Tenancy is a package ecosystem for Laravel that separates tenant data and domains while sharing one application install.
Overview
Tenancy helps Laravel teams build software-as-a-service products where many customers share one codebase but keep isolated data. It replaces the earlier hyn/multi-tenant approach and focuses on running multiple websites or domains on a single Laravel installation with per-tenant separation.
Packages cover installing framework components, choosing database drivers, identification drivers, hooks, and related configuration described in online documentation. The project positions itself as a toolkit for scaffolding multi-tenant platforms rather than a hosted product.
Tenant separation emphasizes distinct assets and databases built from Laravel multi-tenancy experience. Documentation, forum, chat, and newsletter resources are offered for adopters. The software is distributed under MIT for commercial and non-commercial Laravel projects.
You integrate Tenancy into your own Laravel deployment; it does not provide a turnkey hosted SaaS control plane on its own.
Key features
- Multi-tenant Laravel packages
- Per-tenant database separation
- Multi-domain identification
- Configurable database drivers
- Identification driver hooks
- Successor to hyn/multi-tenant
- MIT license for all uses
- Documentation and community support
Use cases
- Laravel multi-tenant SaaS products
- Independent domains per customer
- Isolated tenant databases
- Club and CRM style platforms
- Customer support multi-site tools