Auxiliary builders for doctrine
Doctrine’s Query Builder works for most cases and offers a fluent interface that allows you to build your query step by step, following the builder pattern. However, it lacks some methods that are available in QueryDsl (Java), and inspired by that, I wrote some auxiliary builders that you can use in your PHP projects.Sep 21, 2025
—
5
min readdoctrine

The precomputed Algorithm for Paginated Responses in Symfony
Today, I want to introduce an algorithm for paginated responses in Symfony that aims to minimize database usage and maximize performance. It's called the "precomputed pagination algorithm", and it was conceived to deal with a recurrent problem in my previous jobSep 17, 2025
—
13
min readsymfony
doctrine

Stop Repeating Yourself: Use the Builder Pattern for DTOs in Doctrine
Stop duplicating query logic in Doctrine. Learn how to use the Builder Pattern to create reusable, and maintainable DTO queries — with clean, production-ready PHP.Jul 1, 2025
—
5
min readsymfony
doctrine
