symfony/twig-bundle
Provides a tight integration of Twig into the Symfony full-stack framework observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 97
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 5426
- days_rel: 35
- days_push: 19
- n_releases_24m: 36
Adoption not part of the score
2497 stars · 23 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Symfony bundle that provides tight integration of the Twig template engine into the Symfony full-stack framework. It handles Twig configuration, template rendering from controllers and services, and template-related services via Symfony's dependency injection.
Use cases
- render HTML templates in a Symfony app with Twig
- configure Twig template engine in Symfony
- render email bodies from Twig templates
- lint and debug Twig templates in Symfony
- set up template inheritance and layouts in Symfony
- create custom Twig extensions in a Symfony project
When to choose
- you are building a Symfony application and want Twig as your template engine
- you need Twig configured and wired into Symfony's DI container automatically
- you render HTML pages or emails from Symfony controllers or services
When to avoid
- you use a framework other than Symfony (use symfony/twig-bridge or plain Twig instead)
- your project builds HTML without a template engine (e.g., API-only JSON responses)
- you prefer a different templating language like Blade or Handlebars
Facets
plugin · maturity stable
templating web-framework web-development backend frontend php twig symfony-bundle template-engine html-rendering composer web-server
6 sources
- readme: https://github.com/symfony/twig-bundle · fetched 2026-08-28 · e27556bff041
- homepage: https://symfony.com/twig-bundle · fetched 2026-08-29 · 3632fae12904
- site_page: https://symfony.com/doc · fetched 2026-08-29 · 44889134f4fb
- site_page: https://symfony.com/doc/current/templates.html · fetched 2026-08-29 · 33ceaff01d54
- site_page: https://symfony.com/releases · fetched 2026-08-29 · 2fd410222cfe
- site_page: https://symfony.com/blog/category/releases · fetched 2026-08-29 · b626b5bb1423
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| symfony/twig-bundle | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="symfony/twig-bundle")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem