TemplatingEdit this page
Warning: You are browsing the documentation for Symfony 2.3, which is no longer maintained.
Read the updated version of this page for Symfony 6.1 (the current stable version).
- How to Inject Variables into all Templates (i.e. global Variables)
- How to Use and Register Namespaced Twig Paths
- 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