PHP Classes

Simple Template Parser: Template engine supporting conditions and loops

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,171 All time: 3,223 This week: 330Up
Version License Categories
stp 1.0GNU General Publi...Templates


This class implements a template engine that supports conditional and iterated template sections.

It can:

- Combine several templates to produce the output
- Display the processed template as the current script output or write it to a file
- Iterate over a section using loops
- Evaluate conditional sections that may be nested
- Output multiple columns per row in a table loop
- Change color parameters in a loop

Picture of Horst Brack
Name: Horst Brack <contact>
Classes: 1 package by
Country: Greece Greece
Age: ???
All time rank: 214315 in Greece Greece
Week rank: 438 Up4 in Greece Greece Up

  Files folder image Files  
File Role Description
Plain text file stp.php Class The STP class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,223
This week:330Up