PHP Classes

Booster Template: Compiled template engine

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 1,008 All time: 3,632 This week: 68Up
Version License PHP version Categories
booster 1.0.0BSD License4.4Templates


This class implements a compiled template engine.

It processes templates and generates PHP script files that generate the template output when executed.

The template variables are defined as arrays which are extracted into local variables before including the compiled template script files.

The template engine supports variables with optional modifiers, comments, including external template files, adding separate Javascript and CSS style definitions, localized text, inline PHP code, conditional sections and loops to iterate over array variables.

Picture of Chris Lam
  Performance   Level  
Name: Chris Lam <contact>
Classes: 3 packages by
Country: Hong Kong Hong Kong
Age: 37
All time rank: 17538 in Hong Kong Hong Kong
Week rank: 258 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Booster.class.php Class Main class
Accessible without login Plain text file sample.php Example sample usage of the class
Accessible without login Plain text file test.tpl Data Sample template file
Accessible without login Plain text file header.tpl Data Another sample template

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,632
This week:68Up
User Ratings User Comments (1)
 All time