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

Abandoned → [wpify/templates](/?search=wpify%2Ftemplates)Library[Templating &amp; Views](/categories/templating)

wpify/template
==============

WPify Template

1.1.0(2y ago)05.5kGPL-2.0-or-laterPHP

Since Nov 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wpify/template)[ Packagist](https://packagist.org/packages/wpify/template)[ RSS](/packages/wpify-template/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

DEPRECATED: WPify Template
==========================

[](#deprecated-wpify-template)

**DEPRECATED! Use [wpify/templates](https://github.com/wpify/templates) instead.**

Installation
------------

[](#installation)

`composer require wpify/template`

Usage
-----

[](#usage)

```
use Wpify\Template\WordPressTemplate;

// Initialize the templates
$template = new WordPressTemplate(
	array( plugin_dir_path( __FILE__ ) . 'templates' ), // path to template files in plugin
	'my-plugin-theme-folder' // folder in current theme
);

// Print the html to frontend
$template->print( 'my-template', 'test', array( 'some-args' => 'test' ) );

// Return the html
$html = $template->render( 'my-template', 'test', array( 'some-args' => 'test' ) );
```

The above examples tries to find the templates in the following locations:

- `/wp-content/themes/current-theme/my-plugin-theme-folder/my-template.test.php`
- `/wp-content/themes/current-theme/my-plugin-theme-folder/my-template.php`
- `/wp-content/plugins/my-plugin/templates/my-template.test.php`
- `/wp-content/plugins/my-plugin/templates/my-template.php`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

923d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/92d6ba0cde4324b12697fe98421d2430b68bff0a981225d42b103fb53dea16f5?d=identicon)[vasikgreif](/maintainers/vasikgreif)

---

Top Contributors

[![mejta](https://avatars.githubusercontent.com/u/498441?v=4)](https://github.com/mejta "mejta (2 commits)")

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/wpify-template/health.svg)](https://phpackages.com/packages/wpify-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)
