PHPackages                             jinya/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. jinya/plates

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

jinya/plates
============

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

5.0.2(1y ago)06.4k↑393.3%MITPHPPHP &gt;=8.3CI passing

Since Nov 14Pushed 2w ago1 watchersCompare

[ Source](https://github.com/Jinya-CMS/plates)[ Packagist](https://packagist.org/packages/jinya/plates)[ Docs](https://plates.jinya.dev)[ RSS](/packages/jinya-plates/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)Dependencies (3)Versions (25)Used By (0)

Plates
======

[](#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://plates.jinya.dev/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://plates.jinya.dev/templates/layouts/) and [inheritance](https://plates.jinya.dev/templates/inheritance/)
- Template [folders](https://plates.jinya.dev/engine/folders/) for grouping templates into namespaces
- [Data](https://plates.jinya.dev/templates/data/#preassigned-and-shared-data) sharing across templates
- Preassign [data](https://plates.jinya.dev/templates/data/#preassigned-and-shared-data) to specific templates
- Built-in [escaping](https://plates.jinya.dev/templates/escaping/) helpers
- Easy to extend using [functions](https://plates.jinya.dev/engine/functions/) and [extensions](https://plates.jinya.dev/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 [plates.jinya.dev](https://plates.jinya.dev/).

Testing
-------

[](#testing)

```
phpunit
```

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/Jinya-CMS/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)

- [Imanuel Ulbricht](https://github.com/DerKnerd) (Current Maintainer)
- [RJ Garcia](https://github.com/ragboyjr) (Previous Maintainer)
- [Jonathan Reinink](https://github.com/reinink) (Original Author)
- [All Contributors](https://github.com/Jinya-CMS/plates/contributors)

License
-------

[](#license)

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

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance74

Regular maintenance activity

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~184 days

Recently: every ~212 days

Total

24

Last Release

408d ago

Major Versions

1.2.1 → 2.0.02014-03-31

2.1.0 → 3.0.02014-09-27

3.4.0 → 4.0.02022-02-06

4.1.2 → 5.0.02024-01-16

PHP version history (7 changes)3.2.0PHP ^5.3 | ^7.0

3.4.0PHP ^5.3 | ^7.0 | ^8.0

4.0.0PHP ^8.0

4.1.0PHP ^8.2

4.1.1PHP &gt;=8.1

5.0.0PHP &gt;=8.2

5.0.2PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6a008a91ff4389944ae037738a5e5fd97794d944e3681442850d59229d03a85?d=identicon)[DerKnerd](/maintainers/DerKnerd)

---

Top Contributors

[![reinink](https://avatars.githubusercontent.com/u/882133?v=4)](https://github.com/reinink "reinink (165 commits)")[![DerKnerd](https://avatars.githubusercontent.com/u/3452723?v=4)](https://github.com/DerKnerd "DerKnerd (122 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (12 commits)")[![ragboyjr](https://avatars.githubusercontent.com/u/1975857?v=4)](https://github.com/ragboyjr "ragboyjr (11 commits)")[![electricjones](https://avatars.githubusercontent.com/u/5412413?v=4)](https://github.com/electricjones "electricjones (4 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)")[![ricardofiorani](https://avatars.githubusercontent.com/u/1641075?v=4)](https://github.com/ricardofiorani "ricardofiorani (3 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (3 commits)")[![carbontwelve](https://avatars.githubusercontent.com/u/464699?v=4)](https://github.com/carbontwelve "carbontwelve (2 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (2 commits)")[![odahcam](https://avatars.githubusercontent.com/u/3942006?v=4)](https://github.com/odahcam "odahcam (2 commits)")[![magnus-eriksson](https://avatars.githubusercontent.com/u/3640297?v=4)](https://github.com/magnus-eriksson "magnus-eriksson (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)")[![jamesdb](https://avatars.githubusercontent.com/u/6299056?v=4)](https://github.com/jamesdb "jamesdb (1 commits)")[![jopacicdev](https://avatars.githubusercontent.com/u/2921997?v=4)](https://github.com/jopacicdev "jopacicdev (1 commits)")[![kafene](https://avatars.githubusercontent.com/u/2747027?v=4)](https://github.com/kafene "kafene (1 commits)")

---

Tags

packagetemplatingtemplatesviewsjinya

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[league/plates

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

2.1k6.3M296](/packages/league-plates)[igaster/laravel-theme

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

5151.3M14](/packages/igaster-laravel-theme)[laminas/laminas-view

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

7529.2M275](/packages/laminas-laminas-view)[duncan3dc/blade

Use Laravel Blade templates without the full Laravel framework

160514.9k26](/packages/duncan3dc-blade)[mobicms/render

Native PHP template engine

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

Simple PHP View Renderer

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

PHPackages © 2026

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