stinger-soft/doctrine-commons
A shared Doctrine commons library for PHP projects, providing reusable persistence utilities and foundational components that help standardize entity, repository, and database setup across Stinger Soft applications.
FIELD(), FIND_IN_SET(), DATE_FORMAT(), IFNULL(), GROUP_CONCAT, MATCH … AGAINST) are small but genuinely fiddly to write and test — parser registration, platform-specific SQL generation, parameter type handling. This package is a candidate shortcut that lets you avoid a 1–2 sprint internal library effort.App\Doctrine\DQL namespace.Consider it when:
beberlei/doctrineextensions first and it doesn't cover your function.Look elsewhere when:
beberlei/doctrineextensions is the de facto standard with broad adoption; prefer it unless it genuinely lacks what you need.To executives: This is a small, Apache-2.0-licensed helper library for Doctrine-based PHP applications. It is not a strategic dependency and carries no cost, no vendor lock-in, and no commercial exposure — the license permits us to copy what we need and own it. Recommend treating it as reference material, not a dependency: worth ~1 day of engineering review to see whether it saves us building DQL helpers ourselves, not worth a procurement or roadmap line item.
To engineering: Use it as a catalog, not a package. Cherry-pick the specific DQL function(s) you need into App\Doctrine\DQL, retain the Apache-2.0 attribution, and write tests against our actual database version. Do not add it as a runtime dependency: with zero stars and zero dependents there is no external bug-finding, no maintenance signal, and no one to file issues with — we'd be the sole QA. Pulling in the whole package also imports helpers we didn't ask for.
Recommendation: Extract, don't depend. Re-evaluate only if the package gains maintainers and real adoption, or if we standardize on Doctrine ORM and need a larger function surface — in which case go to beberlei/doctrineextensions first.
How can I help you explore Laravel packages today?