PHP Classes

Tmpl: Template engine that replaces placeholders

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 48%Total: 516 All time: 5,732 This week: 560Up
Version License PHP version Categories
tmpl 1.0The PHP License5PHP 5, Templates
Description 

Author

This class implements a template engine that replaces placeholders with variable values.

It can read a template file and replace placeholders with given variable values.

The processed template is returned as a single string.

Picture of Marko Schulz
Name: Marko Schulz <contact>
Classes: 6 packages by
Country: Germany Germany
Age: 52
All time rank: 58938 in Germany Germany
Week rank: 192 Up13 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file example.php Example This is only an example PHP file.
Accessible without login Plain text file example.tpl Data This is only an example Template file.
Plain text file tmpl.class.php Class This is the PHP 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:516
This week:0
All time:5,732
This week:560Up
User Ratings User Comments (3)
 All time
Utility:65%StarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:3025
 
Good, but simplistic, at this point.
15 years ago (F Philip DeGeorge)
55%StarStarStar
All this package does is string replace.
15 years ago (Ronny)
25%StarStar
Hi !! Thats a good class .
15 years ago (José Filipe Lopes Santos)
70%StarStarStarStar