Before the knowing the php framework I usually work with php template engine, Smarty was always be my choice (look like the project still active till now), I don’t know whether php developers outhere still using the template engine for their project, cause many web framework now providing some great API to create html page and maybe that can replace the template engine, but the php template engine has give a great contribution to php development before the flood of php framework came along.
Although Smarty is known as a “Template Engine”, it would be more accurately described as a “Template/Presentation Framework.” That is, it provides the programmer and template designer with a wealth of tools to automate tasks commonly dealt with at the presentation layer of an application. I stress the word Framework because Smarty is not a simple tag-replacing template engine. Although it can be used for such a simple purpose, its focus is on quick and painless development and deployment of your application, while maintaining high-performance, scalability, security and future growth.
Savant is a powerful but lightweight object-oriented template system for PHP. Unlike other template systems, Savant by default does not compile your templates into PHP; instead, it uses PHP itself as its template language so you don’t need to learn a new markup system.
Dwoo is a PHP5 template engine positioned as an alternative to Smarty, it is (nearly) fully compatible with its templates and plugins, but it is written from scratch and aimed at going one step further with a cleaner codebase. Dwoo is a PHP5 template engine which is (almost) fully compatible with Smarty templates and plugins, but is written from scratch for PHP5, and adds many features.
PHP XTemplate is a cool templating engine for PHP. XTemplate allows you to store your HTML code separately from your PHP code (as opposed to compiling your template into PHP as per Smarty etc.). It has many useful features such as nested blocks and various kinds of variable interpolation, and yet the code is very short and very optimized.
PHPTAL is fast thanks to compiled templates and fine-grained caching. Makes it easy to generate well-formed XML/XHTML (protected against XSS attacks). PHPTAL’s code is mature and improving. Released free under LGPL license.
Open Power Template is a template engine for PHP5. Its task is to produce a full HTML code from the script data and ”code templates” that show, how and where put them. OPT has many features not only for programmers, but also for template writers that make this process nice and easy.
TinyButStrong is a library that enables you to create HTML pages dynamically. It’s a Template Engine for the PHP language. It enables you to easily display information from your database, but also to seriously harmonize and simplify your PHP programming.
RainTPL is an open source PHP template engine that compile HTML template in PHP to improve the speed. Divide the works of graphics by the works of programmers by splitting statics code (HTML) from dynamic code ( PHP).
Template lite was originally created by Paul Lockaby as a smaller replacement for Smarty®. The original package was called Smarty Light. Even though Smarty® is an Open Source project the creators of Smarty® decided to trademark the name Smarty®. Because of this trademarking of the name they contacted Paul Lockaby and told him he could nolonger use Smarty® in the name for the package.
vlibTemplate is a template engine written in PHP. Programmers and web developers may use it for web development. vlibTemplate is a PHP class that is intended to make splitting PHP from HTML a simple and natural task. It makes use of the following vlibTemplate markup tags.
12. FXL Template
FXL Template an easy to use template engine covering all the basic features of a template system. It supports simple text/array assignments, blocks and nested blocks. Well- used regular expressions and the simple markup are responsible for quick rendering. The template markup is really easy to learn – even for people not into programming. Everything can be done with just two types of place holders. For high traffic enviroments you are invited to test our “memcached” cache extension.
Vemplator is PHP template engine that strives to be light-weight yet featured, and does quite well in only 200 lines of code. The template syntax is concise, and the code is written to be extensible.
14. Template Blocks
Template Blocks is a visual template engine, replacing any semantics of previous generation engines with an AJAX interface. It’s written in PHP and is distributed under the GPL.
SledgeHammer is a template engine for PHP. It provides separation of business-logic and presentation in web-based applications.
TPLN is a fast php template engine. The PHP code is separated of your design what facilitates the update of the design of your documents and to permit to separate work between webdesigner and PHP coder your work is built faster and it is easier to update.
17. Tenjin PHP
Tenjin is a very fast and full-featured template engine available in several script languages.
P.E.T. is both a meta-language for designing templates and an engine for processing them. Use it to seperate PHP source code from source code written in HTML, this makes your scripts much easier to handle.
Expose is a PHP template engine. It supports server and client-sided caching, a plugin system (to simplify common tasks like inserting a date picker) and internationalization (to write templates in multiple languages using external translation files). Unlike most template engines, Expose’s template script language is based on PHP itself, which means you don’t have to learn a new syntax. You can use most of the PHP language elements and functions in the way with which you’re familiar.
Serpent is a lightweight templating engine for PHP. It was designed to seamlessly integrate into existing MVC frameworks. It uses PHP itself as its template language, so you do not need to learn a new markup language. On the other side you get many improvements compared to pure PHP.
bTemplate is a PHP class that facilitates the separation of PHP code and whatever markup language you use to define the presentation of your data (HTML, XML, etc.).
ETS is a template system written with PHP that enables you to transform a set of data to any type of document.
AvantTemplate is a template engine for PHP. It is multi-byte safe and consumes little computing resource. It supports variable replacement, block that can be set to hidden or shown, loop, multple-depth loop, and include statement in template file.
TagTemplate is a PHP library class for use with template files.
FryPHP is fast and easy to learn templating engine/system for PHP5. FryPHP uses plain PHP for templating. FryPHP is written in object oriented manner using test driven development (TDD). FryPHP allows local variables for each template, you also can set global variables. FryPHP makes use of method overloading and provides FryHelpers which save a lot of time on routineous HTML generation, such as selects generation for date selection.
XtremeTemplate is a powerful but lightweight object-oriented template system for PHP. Unlike smarty or other template systems in php, XtremeTemplate don’t need 2 level compilation, instead, it uses PHP itself as its template language so you don’t need to learn a new syntax.
It’s new template system for PHP. It’s work only with PHP5.
29. Skor Template
Skor PHP Template template class can assign individual variable values or arrays with several variable values. A separate sub-class extends the base class to support delimited template section replacements.
Teng is a general purpose templating engine (whence Teng). Teng is primary a C++ library with easy–to–use API but it is also available (at least) as Python module and PHP extension.
This is a template engine for PHP, it is inspired by the django template. OOTemplate’s aims is to simplify the generation of html code in PHP, it has been design to be flexible.
32. Blitz Template
Extremely fast and powerfull template engine for very big internet projects.
QuickSkin is a Template Engine that was designed to support web based applications of any size. It is particularly suited to large scale applications like Content Management Systems. The project was originally started by Philipp v. Criegern and named “SmartTemplate”.
Templum is an extremely lightweight, simple yet powerful and fast templating engine for PHP. It re-uses the power of PHP itself for rendering templates, but provides additional features making it easier to write templating code. Rendering templates using Templum is very fast; it approximates native PHP rendering speed for include() statements.
Templeet is an open-source project initiated by Pascal Courtois and Fabien Penso. It allows you to create photo galeries, news systems, personal sites, blogs, etc. Using Templeet, you can generate HTML, CSS, SVG pictures, SMIL, and any kind of text files. Templeet only needs a web server (Apache) and PHP. It supports databases but none is needed to run Templeet.
Bleetz is a revolutionary templates parser based on XML generating PHP. It translates Bleetz control tags into universal php code. It is designed to be fully integrated with Macromedia Dreamweaver.
37. Quick Template
The template library Qtpl is intended for use in CGI scripts. The library will be released in 6 versions:Plain Perl, Plain PHP, C version, PHP/C module, Perl/XS version, C++ version. All of them will support uniform syntax.
Phemplate is simple and fast templating engine for php. it provides a way of substituting variables into text templates and do some dynamic block functionality including loops. Templating engines are meant for separation of presentation and logic. that means you can put all your HTML content outside of PHP scripts. HTML can be changed by designers without a fear of messing up your scripts.
Modern web portal. XML, module driven. The brutaly fast template engine subproject included. It’s the most interesting feature is the advanced caching of the content of the template.
MiniTemplator is a compact template engine for HTML files.
As Soon As Posible tempLATE: the ‘class’ that let you separate PHP developing from web designing.
42. Fast Template
TemplatePower offers you the ability to separate your PHP code and your (HTML) layoutfile. It’s simular to the popular template class FastTemplate, but than a lot faster (about 6x faster).
44. Layout Solution
Layout Solution is a set of open source PHP classes to simplify website development and maintenance. It holds commonly used variables and page elements, allowing you to focus on designing your pages rather than worrying about correctly duplicating common layouts over and over.
Yapter (Yet Another PHP Template Engine (r)) is a simple, yet powerful template engine written completely in PHP, for PHP. Its purpose is to fully strip programming logic from the graphical aspects of creating websites in an elegant way.
htmltmpl is a templating engine for Python and PHP. It is targeted to web application developers, who want to separate program code and design (HTML code) of their projects. Even webdesigners can easily learn its simple but powerful template language.
48. Simple Template
SimpleT takes advantage of PHP’s output control functions to allow the correct seperation of Model from View (or Application Logic from Presentation Logic). Normally, developers who are using “pure” PHP for templates will do so by using functions like include() but, without output buffering, this impacts the ability to control when output is sent to the browser.
49. h2o template
H2o is template engine for PHP, there are a lot of the concept are inspired by projects like Django templates, Smarty and Jinja, implemented in a way that makes sense in PHP.