sbine/simple-tenancy
Simple multi-tenancy for Laravel: add a trait to scope Eloquent models to the current tenant, with automatic query filtering and tenant-aware model creation. Lightweight and straightforward, it's ideal for apps that need clean tenant isolation without per-tenant databases.
Consider it when:
Look elsewhere when:
Executive summary: sbine/simple-tenancy is a low-cost, MIT-licensed Laravel package that can accelerate early multi-tenant product experiments. It is best positioned as a tactical accelerator for simple tenant isolation—not as a strategic platform dependency. The main upside is faster validation of B2B/SaaS use cases; the main risk is low adoption and unclear long-term maintenance. Recommend a time-boxed engineering spike with explicit exit criteria: tenant-boundary tests, security review, upgrade/fork plan, and a fallback to a more established tenancy approach if requirements grow.
Engineering summary: Validate the package’s tenancy model against our data model, confirm how it scopes queries and handles migrations, and add regression tests for cross-tenant leakage. Avoid coupling core domain logic to package internals. If the spike passes, use it narrowly and document ownership; if not, evaluate a stronger Laravel tenancy package or build the minimum scoping layer internally.
How can I help you explore Laravel packages today?