PHP Classes

Simple Template Parser: Template engine supporting conditions and loops

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
Not enough user ratingsTotal: 1,172 All time: 3,233 This week: 560Up
Version License Categories
stp 1.0GNU General Publi...Templates
Description 

Author

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

 

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

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,172
This week:0
All time:3,233
This week:560Up