11
Symfony 7.1.0 released (Symfony Blog)
(symfony.com)
Welcome to /c/php! This is a community for PHP developers and enthusiasts to share and discuss anything related to PHP. From the latest updates and tutorials, to your burning questions and amazing personal projects, we welcome all contributions.
Let's foster an environment of respect, learning, and mutual growth. Whether you're an experienced PHP developer, a beginner, or just interested in learning more about PHP, we're glad to have you here!
Let's code, learn, and grow together!
I particularly like the new Mapped Route Parameters.
❌
/show/{id}/
✔
/show/{id:document}/
For multiple entities, it's cleaner and more beginner-friendly than using the
#[MapEntity]
attribute (which is still an option).And imo it's a good move to deprecate "not passing the mapping" even for single entities. With the mapping the behaviour is more intuitive and "feels" less magic.