cryonighter/formula-doctrine-bundle
#[Formula]) without manual hydration logic or DQL/QueryBuilder workarounds, aligning with Symfony’s annotation-driven ORM patterns.#[Formula('SUM(o.amount)')] public float $totalSpent).productStockLevel).lastOrderDate).PostLoad events).{this}).For Executives:
"This bundle lets us add computed fields (like 'customer order count' or 'total spend') directly to our Doctrine entities—without extra database columns or slow application-layer logic. It’s like Hibernate’s @Formula for Symfony, cutting storage costs and query complexity. Low risk (MIT license, PHP 8.2+), high reward for analytics-heavy features."
For Engineering:
*"Symfony bundle that auto-wires #[Formula] support for Doctrine, handling SQL walkers and metadata listeners. Key benefits:
#[Formula('(SELECT ...)')]) and it just works.How can I help you explore Laravel packages today?