Plates
Native PHP template system (by thephpleague)
Smarty
Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. (by smarty-php)
Our great sponsors
Plates | Smarty | |
---|---|---|
6 | 2 | |
1,465 | 2,192 | |
1.0% | 0.7% | |
0.0 | 8.1 | |
4 months ago | 11 days ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Plates
Posts with mentions or reviews of Plates.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-07.
-
What is your tech stack for blog websites? (not wordpress)
I use PHP with Route, the Plates template engine, and my blog posts are markdown files grouped by folder (year/month/day.md).
-
Recommended using template engine in non framework projects?
If it's a simple project you could try Plates. Escaping is a little more verbose, but you don't have to learn any new syntax since it's native PHP.
-
First version of PHP Templating Abstraction released
✅ Plates
- Hey, anyone facing issues with Airtel Broadband/Prepaid blocking websites randomly
-
Weekly "ask anything" thread
Start reading through PSR standards and see if some (not all) of them sound like good ideas to you, and write a mini framework of your own around those ideas, with composer to import high quality third party packages such as Plates.
Smarty
Posts with mentions or reviews of Smarty.
We have used some of these posts to build our list of alternatives
and similar projects.
What are some alternatives?
When comparing Plates and Smarty you can also consider the following projects:
Twig - Twig, the flexible, fast, and secure template language for PHP
Blade - View template engine of PHP extracted from Laravel
Latte - ☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.
Foil - PHP template engine for native PHP templates
Mustache - A Mustache implementation in PHP.
PHPTAL - PHP Template Attribute Language — template engine for XSS-proof well-formed XHTML and HTML5 pages
Aura.View - Provides TemplateView and TwoStepView using PHP as the templating language, with support for partials, sections, and helpers.