pTemplate: Better PHP Code-HTML Design Separately Free Download

If you’re a PRO & Active Developer

Please consider to help us buy support us


is a PHP Class, designed & programmed by developer, for developer; to create native PHP applications, PHP website, big PHP projects better, nicer and easy to read by others in the team.

may help us process the tasks of PHP programming and design HTML separately, the coders just take the backend issue, not need to worry about the HTML layout; other designers in team focus on site HTML layout, design without any programming skills.


mainly is inspired to avoid the mixture of PHP, HTML, CSS & JavaScript in the same file. This type of file is VERY HARD to read & VER DIFFICULT to maintain & understand; ; especially if you have new members join the team, they’ll have to learn the code from beginning. Let’s check the difference:

Some advanced usages

  • Automatically show section if data-set is available
  • Embed a data-set into section
  • Fill a data-set into multiple pTemplate markups
  • Show many sections with 1 pTemplate variable only
  • Embed a section into another sections
  • Embed a boolean section into a data-set
  • Compress output, expect some sections

Method’s full explaination plus code example

Support multilingual platform very Easy & Greater

Caches static files or multiple parts of file could not be easier

Compress HTML, JavaScript, CSS when output

20 live demos to test directly

   View Demo     Download