Страницы · Laravilt
Multi-Tenancy
Build SaaS panels with single-database or multi-database tenancy.
Laravilt panels can be tenant-aware. With single-database tenancy, records are scoped to a tenant such as a team in one shared database. With multi-database tenancy, each tenant gets its own database and subdomain.
- Overview: the two modes and how to enable them
- Teams Tenancy: use a
Teammodel as the tenant - Configuration: panel methods, config file and environment
- Tenant Models: the
TenantandDomainmodels - Middleware & Routing: how tenants are identified
- Best Practices: tips and troubleshooting