PHPackages                             jankx/plates - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. jankx/plates

ActiveLibrary[Templating &amp; Views](/categories/templating)

jankx/plates
============

Plates, the native PHP template system that's fast, easy to use and easy to extend.

v3.5.0(1y ago)0350MITPHPPHP ^7.0|^8.0

Since May 18Pushed 11mo agoCompare

[ Source](https://github.com/jankx/plates)[ Packagist](https://packagist.org/packages/jankx/plates)[ Docs](https://platesphp.com)[ RSS](/packages/jankx-plates/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Plates
======

[](#plates)

[![Maintainer](https://camo.githubusercontent.com/933b1d687d728cd5ea012f52c507613b92aa1cc0da2da0afadd455bb23d278dd/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40726167626f796a722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/ragboyjr)[![Source Code](https://camo.githubusercontent.com/3f9c91b3b435e7f5a7904fc9b49acca42ff87bcfc6aa3af1f79908587f17b880/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6c65616775652f706c617465732d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/thephpleague/plates)[![Latest Version](https://camo.githubusercontent.com/c607849b51e8c863d3d61ac13dea33c33e8fe665de0346b1e59baff9b7db6b57/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7468657068706c65616775652f706c617465732e7376673f7374796c653d666c61742d737175617265)](https://github.com/thephpleague/plates/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/1f6be72003d9ea0fe46f2a77dc6332dde02d90fb57a804686c3bd5bb8a3027e7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7468657068706c65616775652f706c617465732f7068702e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/thephpleague/plates/actions?query=workflow%3APHP+branch%3Av3)[![Quality Score](https://camo.githubusercontent.com/3f74171ae40ba502cd4230de3b987b5cc81d55d1d405d6bfca6bbcd4462a9c0d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7468657068706c65616775652f706c617465732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/plates)[![Total Downloads](https://camo.githubusercontent.com/b3c836598ce8d85298a11eb62526302ba07c998110bc0c40d1b932f8910073be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616775652f706c617465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/league/plates)

Plates is a native PHP template system that's fast, easy to use and easy to extend. It's inspired by the excellent [Twig](http://twig.sensiolabs.org/) template engine and strives to bring modern template language functionality to native PHP templates. Plates is designed for developers who prefer to use native PHP templates over compiled template languages, such as Twig or Smarty.

### Highlights

[](#highlights)

- Native PHP templates, no new [syntax](https://platesphp.com/templates/syntax/) to learn
- Plates is a template system, not a template language
- Plates encourages the use of existing PHP functions
- Increase code reuse with template [layouts](https://platesphp.com/templates/layouts/) and [inheritance](https://platesphp.com/templates/inheritance/)
- Template [folders](https://platesphp.com/engine/folders/) for grouping templates into namespaces
- [Data](https://platesphp.com/templates/data/#preassigned-and-shared-data) sharing across templates
- Preassign [data](https://platesphp.com/templates/data/#preassigned-and-shared-data) to specific templates
- Built-in [escaping](https://platesphp.com/templates/escaping/) helpers
- Easy to extend using [functions](https://platesphp.com/engine/functions/) and [extensions](https://platesphp.com/engine/extensions/)
- Framework-agnostic, will work with any project
- Decoupled design makes templates easy to test
- Composer ready and PSR-2 compliant

Installation
------------

[](#installation)

Plates is available via Composer:

```
composer require league/plates

```

Documentation
-------------

[](#documentation)

Full documentation can be found at [platesphp.com](https://platesphp.com/).

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](https://github.com/thephpleague/plates/blob/master/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [RJ Garcia](https://github.com/ragboyjr) (Current Maintainer)
- [Jonathan Reinink](https://github.com/reinink) (Original Author)
- [All Contributors](https://github.com/thephpleague/plates/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/thephpleague/plates/blob/master/LICENSE) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance44

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 64% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~287 days

Total

5

Last Release

678d ago

PHP version history (2 changes)v3.4.0PHP ^7.0|^8.0

v3.3.0PHP ^5.3 | ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a609a3b3a36dee9f36ef6f8d3b2b2dc91eebefc7644031e829e65bca4329799?d=identicon)[puleeno](/maintainers/puleeno)

---

Top Contributors

[![reinink](https://avatars.githubusercontent.com/u/882133?v=4)](https://github.com/reinink "reinink (165 commits)")[![ragboyjr](https://avatars.githubusercontent.com/u/1975857?v=4)](https://github.com/ragboyjr "ragboyjr (31 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (12 commits)")[![puleeno](https://avatars.githubusercontent.com/u/22538657?v=4)](https://github.com/puleeno "puleeno (5 commits)")[![SxDx](https://avatars.githubusercontent.com/u/2004247?v=4)](https://github.com/SxDx "SxDx (4 commits)")[![baileylo](https://avatars.githubusercontent.com/u/145345?v=4)](https://github.com/baileylo "baileylo (4 commits)")[![electricjones](https://avatars.githubusercontent.com/u/5412413?v=4)](https://github.com/electricjones "electricjones (4 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (3 commits)")[![ricardofiorani](https://avatars.githubusercontent.com/u/1641075?v=4)](https://github.com/ricardofiorani "ricardofiorani (3 commits)")[![roxblnfk](https://avatars.githubusercontent.com/u/4152481?v=4)](https://github.com/roxblnfk "roxblnfk (3 commits)")[![magnus-eriksson](https://avatars.githubusercontent.com/u/3640297?v=4)](https://github.com/magnus-eriksson "magnus-eriksson (2 commits)")[![odahcam](https://avatars.githubusercontent.com/u/3942006?v=4)](https://github.com/odahcam "odahcam (2 commits)")[![carbontwelve](https://avatars.githubusercontent.com/u/464699?v=4)](https://github.com/carbontwelve "carbontwelve (2 commits)")[![kozubsky](https://avatars.githubusercontent.com/u/29902572?v=4)](https://github.com/kozubsky "kozubsky (2 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (2 commits)")[![vlakoff](https://avatars.githubusercontent.com/u/544424?v=4)](https://github.com/vlakoff "vlakoff (1 commits)")[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (1 commits)")[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (1 commits)")[![fatcat386](https://avatars.githubusercontent.com/u/12583551?v=4)](https://github.com/fatcat386 "fatcat386 (1 commits)")[![gomzyakov](https://avatars.githubusercontent.com/u/1460709?v=4)](https://github.com/gomzyakov "gomzyakov (1 commits)")

---

Tags

packageleaguetemplatingtemplatesviews

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jankx-plates/health.svg)

```
[![Health](https://phpackages.com/badges/jankx-plates/health.svg)](https://phpackages.com/packages/jankx-plates)
```

###  Alternatives

[league/plates

Plates, the native PHP template system that's fast, easy to use and easy to extend.

1.5k5.9M232](/packages/league-plates)[igaster/laravel-theme

Laravel Themes: Asset &amp; Views folder per theme. Theme inheritance. Blade integration and more...

5161.2M12](/packages/igaster-laravel-theme)[laminas/laminas-view

Fast and type safe HTML templating library with a flexible plugin system supporting multistep template composition

7526.3M230](/packages/laminas-laminas-view)[duncan3dc/blade

Use Laravel Blade templates without the full Laravel framework

160499.5k24](/packages/duncan3dc-blade)[mobicms/render

Native PHP template engine

106.7k1](/packages/mobicms-render)[devanych/view-renderer

Simple PHP View Renderer

153.2k1](/packages/devanych-view-renderer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
