PHPackages                             devaloka/templating - 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. devaloka/templating

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

devaloka/templating
===================

A partial template loader for WordPress

16PHP

Since Jun 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/devaloka/templating)[ Packagist](https://packagist.org/packages/devaloka/templating)[ RSS](/packages/devaloka-templating/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Templating Component
====================

[](#templating-component)

[![Latest Stable Version](https://camo.githubusercontent.com/a7b829b60aff88e6fc0ccbcc295ca716198deb6da88656baf45314decb3ad7b0/68747470733a2f2f706f7365722e707567782e6f72672f646576616c6f6b612f74656d706c6174696e672f762f737461626c65)](https://packagist.org/packages/devaloka/templating)[![Latest Unstable Version](https://camo.githubusercontent.com/b7c6d4c80b99c5a8ec582a7bdd721b62f064858b0f306d4407b2b5e3b0b06e6f/68747470733a2f2f706f7365722e707567782e6f72672f646576616c6f6b612f74656d706c6174696e672f762f756e737461626c65)](https://packagist.org/packages/devaloka/templating)[![License](https://camo.githubusercontent.com/7f3da4f01abf79846babc8557d3035fead16388979ef448c72d181586f4c8b37/68747470733a2f2f706f7365722e707567782e6f72672f646576616c6f6b612f74656d706c6174696e672f6c6963656e7365)](https://packagist.org/packages/devaloka/templating)[![Build Status](https://camo.githubusercontent.com/4249acc5b69ec771617e221e4022f0e1571e4f29deb8e358e7c41ec171d89980/68747470733a2f2f7472617669732d63692e6f72672f646576616c6f6b612f74656d706c6174696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/devaloka/templating)

A partial template loader for WordPress as just a better replacement of `get_template_part()`.

Features
--------

[](#features)

- Including a partial template as a new lexical environment
- Passing/Injecting variable(s) into a partial template
- Injecting global variable(s) into a WordPress template

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

[](#installation)

1. Install via Composer.

    ```
    composer require devaloka/templating
    ```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1211058?v=4)[Whizark](/maintainers/whizark)[@whizark](https://github.com/whizark)

---

Top Contributors

[![whizark](https://avatars.githubusercontent.com/u/1211058?v=4)](https://github.com/whizark "whizark (23 commits)")

### Embed Badge

![Health badge](/badges/devaloka-templating/health.svg)

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3851.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.

281.8k](/packages/webkinder-sproutset)

PHPackages © 2026

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