shoofly/doctrine-multi-schema-bundle
A Symfony bundle that extends Doctrine to support multiple database schemas, letting entities map across schemas and managing connections, migrations, and schema tooling for multi-tenant or modular database setups.
tenant_id discriminator? This package only exists to enable the former inside Doctrine, so it's evidence that "schema-per-tenant" is a viable, low-ceremony option on Symfony — not a reason to choose it.stancl/tenancy) or connection-switching, and this package informs the comparison, not the build.Executives (one paragraph): We evaluated a small open-source Symfony bundle for running one application against multiple database schemas. It is the mechanism behind "one database schema per customer," which is a strong isolation story for enterprise and regulated buyers. However: it is not a Laravel package and does not apply to our stack, and it is unmaintained with effectively zero adoption. Our recommendation is do not adopt it as a dependency — note the architecture pattern as an option, and if we pursue schema-per-tenant, fund a small internal implementation instead. No roadmap change is requested today; a decision on tenancy model should precede the enterprise tier's data model.
Engineering (summary): Symfony bundle, Doctrine-only, low complexity surface. Zero stars, zero dependents, no visible CI or release cadence — assume abandoned. A spike to read the code is ~30 minutes; reproducing its behavior over Doctrine DBAL is ~1 day. Do not add it to composer.json; if the pattern wins, we own a fork with tests and a DBAL upgrade watch item. For Laravel, this is a non-starter — evaluate stancl/tenancy or Postgres RLS instead and bring a comparison back.
How can I help you explore Laravel packages today?