avanzu/sf-doctrine-prefix-bundle
tenant1_users, tenant2_users).StofDoctrineExtensionsBundle) for advanced filtering.For Executives:
"This lightweight bundle lets us implement multi-tenancy in our Symfony app with minimal dev effort—adding table prefixes (e.g., tenant1_orders) to isolate customer data in a shared database. It’s a cost-effective way to support our SaaS roadmap without overhauling our architecture. The MIT license and active (though niche) community reduce risk."
For Engineering:
"The avanzu/sf-doctrine-prefix-bundle solves our need for static table prefixes with zero custom code. It hooks into Doctrine’s schema tooling, so migrations and queries work out-of-the-box. The config-driven approach (avanzu_doctrine_prefix: prefix: my_prefix) is simple, and the PHP 5.3+ support aligns with our legacy stack. Tradeoff: No dynamic prefixes or Symfony 3+ support, but we can scope this to our current monolith phase."
For Developers:
"Pros: 2 lines of YAML config, no ORM changes, works with existing migrations. Cons: Hardcoded prefixes (no runtime logic), limited to Symfony 2.x. Perfect for our MVP tenant isolation—just add my_prefix_ to all tables and move on."
How can I help you explore Laravel packages today?