funkymed/tenant-aware-bundle
Symfony bundle for multi-tenant applications that makes Doctrine entities tenant-aware. It handles tenant context and automatic query filtering so each tenant sees only its own data, reducing boilerplate and helping keep tenant data isolated.
Consider it when all of the following hold:
stancl/tenancy or spatie/laravel-multitenancy.Look elsewhere when:
For executives: There's an open-source component that addresses a real cost in our multi-tenant roadmap — per-tenant configuration (branding, limits, credentials) without forking the codebase. It's small, focused, and free. However, it's a Symfony bundle with minimal adoption and no downstream dependents, so it is not something we'd take as a production dependency without owning it. Recommendation: budget a short spike to evaluate its approach (1–2 engineer-days) as design input, and plan to implement the resolution layer in-house against our framework. This de-risks the roadmap item without introducing a supply-chain or maintenance liability.
For engineering: The package implements tenant-scoped configuration resolution as a Symfony bundle. It is conceptually useful and directly relevant if any of our services are Symfony-based; it is inapplicable to our Laravel services as-is. Low adoption means we should read the source, not composer require it — unless we are prepared to fork, pin, and maintain. Key evaluation questions: how does it resolve the active tenant (request, host, header, context)? Does it compose with Symfony's config cache? What happens on cache warmup with N tenants? Answer those, and we have our own spec.
How can I help you explore Laravel packages today?