Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ph-7/h2otpl
π The simplest and best way to separate your HTML (template) code from your PHP code while coding in PHP. H2OTpl is an easy, fast and secure PHP template engine including a cache system
https://github.com/ph-7/h2otpl
h2o-framework native-php-templates php php-template php-template-engine template template-engine templates
Last synced: about 1 month ago
JSON representation
π The simplest and best way to separate your HTML (template) code from your PHP code while coding in PHP. H2OTpl is an easy, fast and secure PHP template engine including a cache system
- Host: GitHub
- URL: https://github.com/ph-7/h2otpl
- Owner: pH-7
- License: lgpl-3.0
- Created: 2014-06-09T22:21:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-21T02:53:26.000Z (almost 10 years ago)
- Last Synced: 2024-05-02T06:14:30.665Z (7 months ago)
- Topics: h2o-framework, native-php-templates, php, php-template, php-template-engine, template, template-engine, templates
- Language: PHP
- Homepage: http://sourceforge.net/projects/h2otplphptemplateengine/
- Size: 168 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES-LOG
- License: LICENSE.txt
Awesome Lists containing this project
README
# H2OTpl - PHP Template Engine
## Description
βThe **simplest and best way** to separate your HTML (template) code from your PHP code while coding in PHP!β
**H2OTpl** is an **easy**, **fast** and **secure** PHP template engine.
It was created for my **H2O Engine** (framework), but now I have decided to create a standalone version for people who don't want to use it with my H2O framework.
## My other Web Template Engines
1. **[PHXSLT](http://github.com/pH-7/XSLT-PHP-Template-Engine)** is a [XSLT](http://en.wikipedia.org/wiki/XSLT) Template Engine for PHP.
2. **[PH7Tpl](https://github.com/pH7Software/pH7-Social-Dating-CMS/tree/master/_protected/framework/Layout/Tpl/Engine/PH7Tpl)** There is not standalone version available.
pH7Tpl is integrated into my **[pH7Frameowork](https://github.com/pH7Software/pH7-Social-Dating-CMS/tree/master/_protected/framework)**. It supports two different syntaxes. The first looks slightly to Smarty syntax and the second is inspired to XSLT/XML syntax but simplified and easier to use.## Server Requirements
*H2OTpl* class can work with **PHP 5.2**, but not the demo. So, I recommend to have **PHP 5.4** or higher installed.
## Author
Pierre-Henry Soria
## Contact
You can contact me at: *ph7software {AT} gmail {DOT} com*
## License
This script is under [Lesser General Public License](http://www.gnu.org/copyleft/lesser.html) (LGPL); See the LICENSE.txt file for more information.