Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages showcasing Symfony with Docker, APIs, queues & async tasks, Webpack, SPAs, etc.

How to Use PHP instead of Twig for Templates

How to Use PHP instead of Twig for Templates

Caution

Starting from Symfony 5.0, PHP templates are no longer supported. Use Twig instead to create your templates.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.