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

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

codexsoft/plates
================

v1.0.0(5y ago)010MITPHPPHP ^7.0 | ^8.0

Since Dec 11Pushed 5y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (1)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/3a8acf4281c4c827bac96a33c475261c0ed370d816d0ed5feb2d3a92bb7cdda2/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7468657068706c65616775652f706c617465732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/thephpleague/plates)[![Coverage Status](https://camo.githubusercontent.com/0275f72ed9c9e5c1495e5d2f5eed4022ff7964781b5239eef3384aa3ee01bce8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7468657068706c65616775652f706c617465732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/thephpleague/plates/code-structure)[![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](http://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](http://platesphp.com/templates/layouts/) and [inheritance](http://platesphp.com/templates/inheritance/)
- Template [folders](http://platesphp.com/engine/folders/) for grouping templates into namespaces
- [Data](http://platesphp.com/templates/data/#preassigned-and-shared-data) sharing across templates
- Preassign [data](http://platesphp.com/templates/data/#preassigned-and-shared-data) to specific templates
- Built-in [escaping](http://platesphp.com/templates/escaping/) helpers
- Easy to extend using [functions](http://platesphp.com/engine/functions/) and [extensions](http://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](http://platesphp.com/).

Testing
-------

[](#testing)

```
phpunit
```

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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1985d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29902572?v=4)[Dmitriy Kozubskiy](/maintainers/kozubsky)[@kozubsky](https://github.com/kozubsky)

---

Top Contributors

[![kozubsky](https://avatars.githubusercontent.com/u/29902572?v=4)](https://github.com/kozubsky "kozubsky (1 commits)")

---

Tags

packageleaguetemplatingtemplatesviews

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/codexsoft-plates/health.svg)](https://phpackages.com/packages/codexsoft-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)
