PHPackages                             wp-hibou/template - 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. wp-hibou/template

Abandoned → [alpipego/awp-template](/?search=alpipego%2Fawp-template)ArchivedLibrary[Templating &amp; Views](/categories/templating)

wp-hibou/template
=================

wp.template and locate\_template loader

0.4.0(8y ago)0174MITPHPPHP ^7.0

Since Aug 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wp-hibou/template)[ Packagist](https://packagist.org/packages/wp-hibou/template)[ RSS](/packages/wp-hibou-template/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (10)Used By (0)

Template
========

[](#template)

WordPress template loader for reusable templates for `wp.template` and `locate_template`

Usage
-----

[](#usage)

Obtain instance of `Template`, either by instantiating it directly or using `TemplateFactory`'s `build` method.

```
/**
 * Template constructor.
 *
 * @param array $template Uses `locate_template` to prioritize templates @see locate_template()
 * @param string $name Id passed to `wp.template`
 * @param array $data optional array of unchanging data
 */
 public function __construct(array $template, string $name, array $data = [])

```

Pass an array (may be empty) to the `render` method on the `Template` to render php template. Don't pass anything to render a `wp.template`.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Every ~12 days

Recently: every ~21 days

Total

8

Last Release

3093d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/decfb01c8bacac76412d15100d44344183d0b377771e9f795bdf0cd0808d2e33?d=identicon)[alpipego](/maintainers/alpipego)

### Embed Badge

![Health badge](/badges/wp-hibou-template/health.svg)

```
[![Health](https://phpackages.com/badges/wp-hibou-template/health.svg)](https://phpackages.com/packages/wp-hibou-template)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)

PHPackages © 2026

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