PHP template engines

PHP Template engine
A template engine is software that is designed to process web templates and content information to produce output web documents.

Smarty

Smarty PHP Template Engine

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.

Caching: Smarty provides fine-grained caching features for caching all or parts of a rendered web page, or leaving parts uncached.
Configuration Files: Smarty can assign variables pulled from configuration files.
Security: Templates do not contain PHP code. Therefore, a template designer is not unleashed with the full power of PHP, but only the subset of functionality made available to them from the programmer (application code.)


Dwoo

Dwoo PHP Template Engine

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.


Savant

Savant PHP Template Engine

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.


Template Blocks

Template Blocks PHP Template Engine

Template Blocks is a visual template engine, replacing any semantics of previous generation engines with an AJAX interface.


Open Power Template

Open Power Template PHP

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

Tiny But Strong PHP Template Engine

TinyButStrong is a library that enables you to dynamically create XML/HTML pages and any other files based on text source. 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.


Rain TPL

Rain PHP Template Engine

The easy template engine PHP, that compile template.


Template Lite

Template Lite: The smaller, faster templating solution

Template Lite is a stripped down version of Smarty and thus is extremely fast, yet very similar to Smarty.


PHP XTemplate Wiki

PHP Template Engine

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.


vlibTemplate

PHP Template Engine

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 (like html tags); <tmpl_var ...>, <tmpl_loop ...> and so on.


Sugar (PHP Template Engine)

PHP Template Engine

Sugar is a new template engine for PHP, similar in spirit to Smarty.

A powerful and flexible compilation engine is used which allows for powerful expressions similar to that of PHP itself. It also features a clean and easy to understand syntax, which was created with the average designer in mind.


FXL Template

PHP Template Engine

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.


Blitz Templates

PHP Template Engine

Extremely fast and powerfull template engine for very big internet projects


Vemplator

PHP Template Engine

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.


QuickSkin (formerly SmartTemplate)

PHP Template Engine

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". The project was then taken over by Manuel 'EndelWar' Dalla Lana and HonestQiao. The name of the project back then led to confusion with Smarty Templating.

 


TagTemplate

PHP library class

TagTemplate is a class that performs both of the above tasks, plus a bit more. You decide which via a function parameter.

Using the first option, you can, for example, "include" one HTML file in another, but without the <HEAD> tag or anything not inside the <BODY>. Or you could include a JavaScript that's embedded in one HTML file into another. Or you could surround an arbitrary piece of HTML code with some invented tag (such as, <INCLUDED_BIT>This is to be included in other files</INCLUDED_BIT>) and extract that HTML code snippet for insertion into another file.


bTemplate

PHP library class

bTemplate is a class designed to allow the complete separation of program logic (PHP code) and presentation (HTML, XML, etc.). There are quite a few discussions on why this is important floating around the various PHP sites. The quick answer is that, if properly designed, it allows you to work on your programs independently of your web site design.

 


htmltmpl: templating engine for separation of code and HTML

PHP Template Engine

The purpose of the templating engine is to provide web application developers, who need to separate the program code and the design (HTML code) of their web application projects, with a templating tool that can easily be used by cooperating webdesigners with no programming skills.

 


Web Application Component Toolkit

The Web Application Component Toolkit is a framework for creating web applications. WACT facilitates a modular approach where individual, independent or reusable components may be integrated into a larger web application. WACT assists in implementing the Model View Controller pattern and the related Domain Model, Template View, Front Controller and Application Controller patterns.


web.template

It's new template system for PHP. It's work only with PHP5, so I can't show same examples on this page - SF give only PHP4. Why this template system was different/better? It use XML-like look language, and you can call for templates method in your classes.


FryPHP templating engine

FryPHP is fast and easy to learn templating engine/system for PHP5. FryPHP uses plain PHP for templating.


RTemplate

RTemplate for PHP: A PHP template class


VarPage Class

VarPage is a replacement for ShellPage, a VERY simple PHP class for building websites based on Template files.

All you have to do is design a template HTML file with a few comment tags in it, as the master design for your site. Then create each of your web site's pages as a PHP page that calls VarPage and embeds your content into the template.


SimpleT

SimpleT is about "reclaiming" PHP as a template language for rendering HTML.

 

Black Friday 2017