{"id":16673161,"url":"https://github.com/ph-7/h2otpl","last_synced_at":"2025-05-13T18:32:38.524Z","repository":{"id":17788645,"uuid":"20664279","full_name":"pH-7/H2OTpl","owner":"pH-7","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 including a cache system","archived":false,"fork":false,"pushed_at":"2015-01-21T02:53:26.000Z","size":172,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T06:35:42.290Z","etag":null,"topics":["h2o-framework","native-php-templates","php","php-template","php-template-engine","template","template-engine","templates"],"latest_commit_sha":null,"homepage":"http://sourceforge.net/projects/h2otplphptemplateengine/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pH-7.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES-LOG","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-09T22:21:05.000Z","updated_at":"2024-06-24T16:22:13.000Z","dependencies_parsed_at":"2022-09-07T20:30:31.476Z","dependency_job_id":null,"html_url":"https://github.com/pH-7/H2OTpl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FH2OTpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FH2OTpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FH2OTpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pH-7%2FH2OTpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pH-7","download_url":"https://codeload.github.com/pH-7/H2OTpl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254003421,"owners_count":21997886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["h2o-framework","native-php-templates","php","php-template","php-template-engine","template","template-engine","templates"],"created_at":"2024-10-12T12:24:53.500Z","updated_at":"2025-05-13T18:32:38.207Z","avatar_url":"https://github.com/pH-7.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# H2OTpl - PHP Template Engine\n\n## Description\n\n“The **simplest and best way** to separate your HTML (template) code from your PHP code while coding in PHP!”\n\n**H2OTpl** is an **easy**, **fast** and **secure** PHP template engine.\n\nIt 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.\n\n\n## My other Web Template Engines\n\n1. **[PHXSLT](http://github.com/pH-7/XSLT-PHP-Template-Engine)** is a [XSLT](http://en.wikipedia.org/wiki/XSLT) Template Engine for PHP.\n\n2.  **[PH7Tpl](https://github.com/pH7Software/pH7-Social-Dating-CMS/tree/master/_protected/framework/Layout/Tpl/Engine/PH7Tpl)** There is not standalone version available.\npH7Tpl 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.\n\n\n## Server Requirements\n\n*H2OTpl* class can work with **PHP 5.2**, but not the demo. So, I recommend to have **PHP 5.4** or higher installed.\n\n\n## Author\n\nPierre-Henry Soria\n\n\n## Contact\n\nYou can contact me at: *ph7software {AT} gmail {DOT} com*\n\n\n## License\n\nThis script is under [Lesser General Public License](http://www.gnu.org/copyleft/lesser.html) (LGPL); See the LICENSE.txt file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Fh2otpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fph-7%2Fh2otpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fph-7%2Fh2otpl/lists"}