PHP Classes

Pop Corn: Template engine that compiles templates into PHP

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: 336 All time: 7,104 This week: 560Up
Version License PHP version Categories
popcorn 1.0.0GNU General Publi...5.2PHP 5, Templates
Description 

Author

This class implements a template engine that compile templates into PHP.

It reads a given template file and replaces certain marks by PHP code that implement the supported template logic.

The class supports template variables, conditional sections, loops, including additional templates, etc..

The generated compiled template is saved to a PHP file so it does not need to be compiled again when the same template is used. The resulting template HTML may be compressed optionally.

The compiled template file is included to process the template and generate its output.

Picture of Sergey Romanenko
Name: Sergey Romanenko <contact>
Classes: 1 package by
Country: Ukraine Ukraine

  Files folder image Files (1)  
File Role Description
Plain text file popcorn.class.php Class easy and fast template engine for PHP

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:336
This week:0
All time:7,104
This week:560Up