danplaton4/tenancy-bundle
Multi-tenancy for Symfony with zero boilerplate: resolve a tenant once per request and the kernel reconfigures DBAL/Doctrine, cache pools, mailer transport, and Messenger. Automatic query scoping and tenant propagation to workers; your app code stays tenant-unaware.
stancl/tenancy) if the stack is already Symfony.acme.com, globex.com) via subdomains or headers.#[TenantAware] User).?tenant=team_x query params).Adopt if:
Origin header for React/Vue frontends).InteractsWithTenancy trait for PHPUnit.Look elsewhere if:
stancl/tenancy instead).tenant_id column—manual SQL filters may suffice).pgsql:pool).*"This package lets us launch a multi-tenant SaaS product in weeks, not months. By automating tenant isolation for databases, caches, emails, and queues—without manual code changes—we reduce risk and accelerate time-to-market. For example:
*"This is a first-class tenancy solution for Symfony, addressing gaps in existing bundles (e.g., RamyHakam lacks Messenger/Mailer integration). Key wins:
acme.app), headers (X-Tenant-ID), or query params (?tenant=123).#[TenantAware]—no manual WHERE tenant_id = ? in queries../bin/console tenancy:run migrate --tenant=acme).stancl/tenancy instead).Call to Action: *"Let’s prototype this with the three-tenant demo (Dockerized, 5-minute setup) and measure:
bin/smoke.sh).How can I help you explore Laravel packages today?