TemplatingEdit this page
Warning: You are browsing the documentation for Symfony 2.0, which is no longer maintained.
Read the updated version of this page for Symfony 6.3 (the current stable version).
- How to Inject Variables into all Templates (i.e. Global Variables)
- How to use PHP instead of Twig for Templates
- How to write a custom Twig Extension
- How to render a Template without a custom Controller