Plates
Native PHP template system for rendering HTML from plain PHP template files, with layouts, inheritance and escaping helpers.
Plates is a template system for PHP that renders HTML from plain PHP template files. Templates use native PHP with no template syntax of their own, and the system adds layouts, inheritance and escaping helpers. It is added to a project with Composer and used from inside a PHP application.
The project describes itself as inspired by Twig, and as designed for developers who prefer native PHP templates over compiled template languages such as Twig or Smarty.
Sources
- 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/thephpleague/plates - 2026-11-16: links, Install with
platesphp.com/getting-started/installation/ - 2026-11-16: First release
repo.packagist.org/p2/league/plates.json - 2026-11-16: Maintainer, License
github.com/thephpleague/plates/blob/v3/LICENSE - 2026-11-16: Categories, Templating
platesphp.com/ - 2026-11-16: Runtime, Minimum runtime
github.com/thephpleague/plates/blob/v3.6.0/composer.json - 2026-11-16: Current major version, Last release
api.github.com/repos/thephpleague/plates/releases - 2026-11-16: Contributors
api.github.com/repos/thephpleague/plates/contributors?per_page=1 - 2026-11-16: Packagist downloads
packagist.org/packages/league/plates.json