arshaw / phpti
Template Inheritance is an extremely useful technique for making reusable HTML layouts for a site
Installs: 1 055
Dependents: 0
Suggesters: 0
Security: 0
Stars: 117
Watchers: 11
Forks: 17
Open Issues: 5
This package is not auto-updated.
Last update: 2024-11-22 22:54:59 UTC
README
PHP Template Inheritance (PHPTI)
Template Inheritance is an extremely useful technique for making reusable HTML layouts for a site. It is much more flexible than alternative techniques, such as "including" common elements of a page (like a header and footer file).
The concept has been around for a while, most notably in the Django template engine. Unlike other libraries, PHP Template Inheritance lets you write everything in straight PHP. There is no need to learn another template language.
Links
- For a tutorial on how to use this library, visit the project homepage
- For bugs, visit the Issue Tracker
- For development, visit the GitHub Project
- Created by Adam Shaw
Released under the MIT License (license.txt)