nette/latte
☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites. observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 95
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 26
- age_days: 5187
- days_rel: 37
- days_push: 33
- n_releases_24m: 14
Adoption not part of the score
1290 stars · 112 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Latte is a secure, intuitive templating engine for PHP featuring context-sensitive escaping that automatically protects against XSS vulnerabilities. It uses PHP-like syntax, compiles templates for speed, and includes sandboxing and template inheritance.
Use cases
- render html templates in php safely
- prevent xss vulnerabilities in web pages
- separate presentation logic from application code
- migrate from twig or plain php templates
- sandbox user-edited templates
- reuse layout structures with template inheritance
When to choose
- you need the strongest automatic XSS protection in a PHP templating engine
- you want PHP-like syntax so developers don't learn a new template language
- you need to render untrusted user-authored templates in a sandbox
- you're building on the Nette framework
When to avoid
- your project is not written in PHP
- you're already standardized on Twig or Blade with no security pain points
- you need a JavaScript or client-side templating solution
Facets
library · maturity stable
templating web-framework security web-development security frontend php template-engine xss-protection context-sensitive-escaping nette-framework sandboxing web-server
8 sources
- readme: https://github.com/nette/latte · fetched 2026-08-28 · c50cd21e63a0
- homepage: https://latte.nette.org · fetched 2026-08-29 · df0e0ab55357
- site_page: https://latte.nette.org/en/guide · fetched 2026-08-29 · dd53bf1c93af
- site_page: https://blog.nette.org/en/five-new-features-in-latte-3-1-that-will-make-your-life-easier · fetched 2026-08-29 · 69d90445fc63
- site_page: https://latte.nette.org/en/syntax · fetched 2026-08-29 · 17ce5b4fe55b
- site_page: https://nette.org/en/releases · fetched 2026-08-29 · aa39e1b5cbb1
- site_page: https://doc.nette.org · fetched 2026-08-29 · b052116b2a14
- site_page: https://nette.org/en/history · fetched 2026-08-29 · 286192274b00
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nette/latte | main | 96 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem