romegadigital/multitenancy
A simple multi-tenancy package for Laravel that scopes Eloquent models to the current tenant using a tenant_id column and global scopes. Includes middleware for tenant resolution, a Tenant model, and tenant-aware helpers for isolating data in a single database.
acme.app.com) versus shared-path tenancy or single-tenant deployments.Consider it only when:
Look elsewhere when:
stancl/tenancy or spatie/laravel-multitenancy, evaluated against your isolation and operational requirements.Executive summary: This package offers a low-cost, MIT-licensed starting point for subdomain-based multi-tenancy in Laravel, which can accelerate early SaaS delivery. However, it is archived and has not been released since May 2023, so it should not be treated as a strategic dependency without an owner. Adopt only as a legacy component, a reference implementation, or an internally maintained fork. For new roadmap investments, favor a maintained alternative or budget explicitly for fork ownership, security review, and upgrade work.
Engineering summary: The package is simple and opinionated around subdomain tenant resolution, which keeps the initial integration small. The trade-off is limited scope and no upstream maintenance. If selected, vendor or fork it, pin versions, add integration tests around tenant resolution and routing, document the exit path, and assign an internal maintainer. Do not assume compatibility with current or future Laravel releases without verification.
How can I help you explore Laravel packages today?