appventus/extradoctrine-bundle
LPAD) without rewriting core logic.LPAD; other use cases (e.g., RPAD, TRIM) would require forking or extending.For Executives: "This bundle lets us add simple database functions (like string padding) to our Symfony2 queries without rewriting core logic. It’s a low-risk, zero-cost way to handle niche data formatting needs—like generating standardized date strings—while we plan our long-term migration. Since it’s MIT-licensed and lightweight, it won’t block future upgrades."
For Engineering:
"The ExtraDoctrineBundle provides a pre-built LPAD DQL function for Symfony2, saving us from implementing a custom Doctrine AST node. It’s a drop-in solution for cases like formatting month values (e.g., LPAD(month, 2, '0')), but note it’s unmaintained and Symfony2-only. We’d need to vet the code and have a fallback plan if it breaks with Doctrine updates. Alternatives like Gedmo’s extensions are more robust but require Symfony 3+."
For Architects: "This bundle is a temporary band-aid for legacy systems. It’s not a strategic choice—it’s a way to avoid reinventing the wheel for a single function. If we’re stuck on Symfony2, it’s better than nothing, but we should pair it with a migration timeline to move to supported tools (e.g., Doctrine Extensions or native query builders)."
How can I help you explore Laravel packages today?