Seiten · Laravilt
Teams Tenancy
Using teams as tenants
Use your existing Team model as tenants.
Quick Start
bash
User Model Setup
php
Team Model Setup
php
Panel Configuration
php
Required Interfaces
HasTenants- providesgetTenants()andcanAccessTenant()HasDefaultTenant- providesgetDefaultTenant()HasTenantName- providesgetTenantName()
Next Steps
- Configuration - Detailed configuration
- Models - Tenant and Domain models
- Best Practices - Tips and troubleshooting