PHP Symfony Sonata

Category Programming

Sonata Admin: How to Install

Installing Sonata Admin can be a little confusing when following the official documentation. This guide provides a more straightforward, practical setup covering Sonata Admin, Doctrine ORM, Sonata User Bundle, routing, security, database configuration, and the first admin user. It also includes solutions to common installation errors and the package versions used in the setup.

Symfony: Cache Redis

Learn how to configure Redis as an application cache in the Symfony framework. This guide outlines the required environment variables for the Redis service and the Symfony cache configuration, along with recommendations.

Symfony: Redis for Sessions

Learn how to configure Redis as a session storage in Symfony. This tutorial covers adding Redis to a Docker setup, configuring Predis, connecting it to Symfony’s session handler, and inspecting stored session data.

Sonata Admin: Prefix and Suffix For The Input Field

Learn how to add a prefix and suffix to input fields in Sonata Admin. This solution extends the default form field template and uses the existing class to styling to display custom text before or after the input value.

Sonata Admin: How to Add a Custom Template (part 3)

Learn how to add a custom list template in Sonata Admin, including how to pass and retrieve additional template options, using the example of displaying image thumbnails.

Sonata Admin: How to Add a Custom Template (part 2)

Learn how to add a custom list template in Sonata Admin, including how to pass and retrieve additional template options, using the example of displaying image thumbnails.

Sonata Admin: How to Add a Custom Template (part 1)

Learn how to add a custom list template in Sonata Admin, including how to pass and retrieve additional template options, using the example of displaying image thumbnails.

Newer posts »

© 2026 PHPNotes — Powered by WordPress

Theme by Anders Noren — Up ↑