PHP Classes

Simple Template Parser Class: Regular expression matching based template engine

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 52%Total: 1,297 All time: 2,977 This week: 74Up
Version License Categories
templateparser 1.0GNU General Publi...Templates
Description 

Author

This class implements a simple template processor engine based on regular expression matching.

It can process template strings or files.

It uses regular expressions to find place holder marks and a callback function to replace the marks by the respective template parameter values.

Picture of Rupom Razzaque
  Performance   Level  
Name: Rupom Razzaque <contact>
Classes: 12 packages by
Country: Bangladesh Bangladesh
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file template.html Data Example Template File
Plain text file TemplateParser.class.php Class Class File of Simple Template Parser
Accessible without login Plain text file usage.php Example Use of Simple Template Parser Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,297
This week:0
All time:2,977
This week:74Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:52%StarStarStar
Rank:2342