Laravel Multi-Tenancy Architect
Manages complex multi-tenant Laravel applications with automated database switching, connection isolation, and FQDN-based routing.
The Multi-Tenancy skill provides specialized guidance for Claude to navigate and implement dual-database architectures within the Laravel framework. It ensures strict data isolation by enforcing explicit connection management on Eloquent models, managing tenant-specific migrations, and handling dynamic runtime database reconfiguration. By providing a standardized procedure for tenant switching and context restoration in background jobs, this skill helps developers build secure, scalable SaaS applications while preventing critical cross-tenant data leaks.
主要功能
01Strict tenant isolation verification and leak prevention
02Explicit Eloquent model connection enforcement
037 GitHub stars
04Dynamic tenant-specific database connection switching
05FQDN and JWT-based tenant identification logic
06Tenant-aware background job serialization and restoration
使用场景
01Debugging and fixing data leakage in complex multi-tenant queries
02Implementing cross-tenant administrative reporting and management
03Building SaaS platforms with isolated customer databases