laravel-multi-tenancy
Multi-tenant application architecture patterns. Use when working with multi-tenant systems, tenant isolation, or when user mentions multi-tenancy, tenants, tenant scoping, tenant isolation, multi-tenant.
Security Assessment
About laravel-multi-tenancy
The laravel-multi-tenancy skill provides a robust framework for developing multi-tenant applications, enabling developers to efficiently manage tenant isolation within their software architecture. This skill addresses the challenges associated with multi-tenant systems by providing a clear separation between central and tenant-specific contexts, allowing for tailored application logic and improved data security. With this skill, developers can ensure that each tenant's data remains isolated and secure, while still leveraging shared application resources where appropriate.
FAQ
What is multi-tenancy?
Multi-tenancy refers to an architecture where a single instance of a software application serves multiple tenants, each with their own separate data and configurations.
When should I use this skill?
You should use this skill when building SaaS applications that require complete data isolation for each customer, or when compliance necessitates strict data separation.
What are the main features of this skill?
This skill provides features such as database isolation for tenants, automatic scoping of queries, context awareness with helper classes, and integration with queues while preserving tenant context.
Are there any limitations to using this skill?
Yes, this skill may not be suitable for applications where simple user segmentation is sufficient or where all customers share the same database schema.
What is the directory structure for using this skill?
The directory structure includes folders for Actions, Data, Http, Models, and Support, each organized into Central and Tenanted contexts.
Install laravel-multi-tenancy
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
leeovery/claude-laravel