PHP Symfony Sonata

Month October 2026

Symfony: Queries from OR

When building Doctrine queries, combining `AND` and `OR` conditions can quickly become difficult to structure correctly. This article shows how to use `QueryBuilder` and `orX()` to group alternative conditions while keeping the required filters separate.

Sonata Admin: Installing the Quill Editor

This article shows how to integrate the free Quill WYSIWYG editor with Sonata Admin as an alternative to paid editors. It covers the basic configuration, toolbar customization, image handling and source-code editing, as well as initializing editors dynamically in Sonata forms. The article also addresses a sorting-related issue and shows how to prevent editor interactions from triggering Sonata’s sorting events.

© 2026 PHPNotes — Powered by WordPress

Theme by Anders Noren — Up ↑