Seiten · Laravilt
Tenancy Best Practices
Tips and troubleshooting for tenancy
Environment Configuration
env
Reserved Subdomains
php
Tenant-Aware Queues
php
Troubleshooting
User Has No Teams
- Check User implements
HasTenants,HasDefaultTenant - Check User uses
HasTeamstrait - Check
current_team_idis fillable - Verify
team_userpivot table exists
Tenant Not Found
- Check domain configuration
- Verify DNS for subdomains
- Clear cache:
php artisan cache:clear - Check
domainstable entries
Database Connection Issues
- Verify tenant database credentials
- Check database exists
- Verify user permissions
- Check connection template
Next Steps
- Overview - Tenancy overview
- Configuration - Configuration options
- Models - Tenant and Domain models