smarty-php/smarty
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 90
- 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: 16.5
- age_days: 4325
- days_rel: 65
- days_push: 8
- n_releases_24m: 17
Adoption not part of the score
2347 stars · 709 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Smarty is a mature template engine for PHP that separates presentation (HTML/CSS) from application logic. It provides a template syntax with variables, modifiers, and control structures compiled to PHP code.
Use cases
- separate HTML templates from PHP application logic
- render web pages with a template engine in PHP
- let designers edit templates without touching business code
- compile templates for fast page rendering
- build MVC applications with a view layer
- migrate legacy PHP apps to templated output
When to choose
- you have a PHP codebase needing clean separation of presentation and logic
- you want a battle-tested, long-established PHP template engine
- designers and developers need to work on separate files
- you need template compilation, caching, and inheritance features
When to avoid
- you use a modern full-stack framework with its own templating (e.g., Laravel Blade, Symfony Twig)
- you build SPAs where the server renders no HTML
- you prefer plain PHP templates without a custom syntax
Facets
library · maturity stable
templating web-framework web-development frontend backend php template-engine mvc presentation-layer html-templates
1 source
- readme: https://github.com/smarty-php/smarty · fetched 2026-08-28 · 273cdebc4add
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| smarty-php/smarty | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="smarty-php/smarty")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem