PHPackages                             arshaw/phpti - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. arshaw/phpti

ActiveLibrary[Templating &amp; Views](/categories/templating)

arshaw/phpti
============

Template Inheritance is an extremely useful technique for making reusable HTML layouts for a site

v0.9.0(4y ago)1151.1k17[5 issues](https://github.com/arshaw/phpti/issues)MITPHP

Since Mar 30Pushed 4y ago9 watchersCompare

[ Source](https://github.com/arshaw/phpti)[ Packagist](https://packagist.org/packages/arshaw/phpti)[ RSS](/packages/arshaw-phpti/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

*NOTE*: This project is no longer maintained! [more info](https://arshaw.com/2013/03/reflecting-on-phpti)
---------------------------------------------------------------------------------------------------------

[](#note-this-project-is-no-longer-maintained-more-info)

PHP Template Inheritance (PHPTI)
================================

[](#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](http://www.djangoproject.com/) 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
-----

[](#links)

- For a tutorial on how to use this library, visit the [project homepage](http://arshaw.com/phpti/)
- For bugs, visit the [Issue Tracker](http://github.com/arshaw/phpti/issues)
- For development, visit the [GitHub Project](http://github.com/arshaw/phpti)
- Created by [Adam Shaw](http://arshaw.com/)

Released under the MIT License (license.txt)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1546d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/876e730a8de8dbc00932e2834175484b3542402e55ad2941d584c455b2ceb514?d=identicon)[arshaw](/maintainers/arshaw)

---

Top Contributors

[![arshaw](https://avatars.githubusercontent.com/u/56520?v=4)](https://github.com/arshaw "arshaw (22 commits)")[![bdelespierre](https://avatars.githubusercontent.com/u/1086339?v=4)](https://github.com/bdelespierre "bdelespierre (1 commits)")[![tobya](https://avatars.githubusercontent.com/u/325502?v=4)](https://github.com/tobya "tobya (1 commits)")

### Embed Badge

![Health badge](/badges/arshaw-phpti/health.svg)

```
[![Health](https://phpackages.com/badges/arshaw-phpti/health.svg)](https://phpackages.com/packages/arshaw-phpti)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)[awkwardideas/switchblade

Extended blade directives for laravel

102.1k](/packages/awkwardideas-switchblade)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
