worldesports/laravel-auto-tenancy
Automatic multi-tenancy for Laravel. Automatically scopes models, queries, and database connections to the current tenant with minimal configuration, so you can add tenant isolation to existing apps without rewriting your code. A lightweight package for building SaaS and multi-tenant apps.
Consider it when all of the following hold:
Look elsewhere when:
NOASSERTION license is a hard stop for legal and procurement. Until the license is explicit and compatible with your distribution model, this cannot be approved for production — full stop.stancl/tenancy and spatie/laravel-multitenancy are the mainstream Laravel choices with real adoption, clear licensing, and community support. Default to those unless you have a specific reason not to.For executives: This is an evaluation of a small open-source Laravel package that solves a specific, high-value problem — giving every customer their own isolated database, switched automatically when they log in. The capability matters commercially: it underpins enterprise pricing, clean data-deletion guarantees, and per-customer backup and restore.
The recommendation: treat it as a design reference, not a dependency. Three reasons: the license is undefined, so legal cannot approve it; it is maintained by a single organization with no downstream adoption, so we would absorb all edge-case risk ourselves; and there is no support path if it breaks.
The ask: a short engineering spike to evaluate the pattern against our requirements, followed by a build-vs-adopt decision weighted toward a mainstream package (stancl/tenancy or spatie/laravel-multitenancy). The likely outcome is adopting one of those, using this package's approach as a sanity check on our design. Cost of the spike is small; cost of shipping an unlicensed, unmaintained dependency into a customer-facing isolation boundary is not.
How can I help you explore Laravel packages today?