# Plates

Native PHP template system for rendering HTML from plain PHP template files, with layouts, inheritance and escaping helpers.


Source: https://findsoftware.frbit.cloud/plates/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://platesphp.com
- repository: https://github.com/thephpleague/plates
- docs: https://platesphp.com/getting-started/installation/

### Identity

- status: active
- maintainer: The League of Extraordinary Packages
- maintainerType: unknown
- parent: unknown
- firstRelease: 2013
- hqCountry: unknown

### Kind

- category: library
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.0
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: native PHP
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: composer

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 3
- latestReleaseDate: 2024-11-02

### Adoption

- githubStargazers: 1526
- packagistDownloads: 6719954
- npmWeeklyDownloads: not applicable
- contributors: 32
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://api.github.com/repos/thephpleague/plates (read 2026-11-16)
- urls: https://api.github.com/repos/thephpleague/plates (read 2026-11-16)
- urls: https://platesphp.com/getting-started/installation/ (read 2026-11-16)
- firstRelease: https://repo.packagist.org/p2/league/plates.json (read 2026-11-16)
- maintainer: https://github.com/thephpleague/plates/blob/v3/LICENSE (read 2026-11-16)
- category: https://platesphp.com/ (read 2026-11-16)
- language: https://api.github.com/repos/thephpleague/plates (read 2026-11-16)
- runtime: https://github.com/thephpleague/plates/blob/v3.6.0/composer.json (read 2026-11-16)
- runtimeMin: https://github.com/thephpleague/plates/blob/v3.6.0/composer.json (read 2026-11-16)
- templating: https://platesphp.com/ (read 2026-11-16)
- license: https://github.com/thephpleague/plates/blob/v3/LICENSE (read 2026-11-16)
- installMethod: https://platesphp.com/getting-started/installation/ (read 2026-11-16)
- currentMajor: https://api.github.com/repos/thephpleague/plates/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/thephpleague/plates/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/thephpleague/plates (read 2026-11-16)
- contributors: https://api.github.com/repos/thephpleague/plates/contributors?per_page=1 (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/league/plates.json (read 2026-11-16)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
