PHPackages                             exertis/yii2-handlebars - 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. exertis/yii2-handlebars

ActiveYii2-extension

exertis/yii2-handlebars
=======================

The Handlebars.php integration for the Yii framework. Fork of https://github.com/7coders/yii2-handlebars which disappeared mysteriously from GitHub.

21112[1 issues](https://github.com/ExertisMicro-P/yii2-handlebars/issues)PHP

Since Apr 7Pushed 11y ago3 watchersCompare

[ Source](https://github.com/ExertisMicro-P/yii2-handlebars)[ Packagist](https://packagist.org/packages/exertis/yii2-handlebars)[ RSS](/packages/exertis-yii2-handlebars/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-handlebars
===============

[](#yii2-handlebars)

Fork of  which disappeared mysteriously from GitHub

From the original 7coders README.md
===================================

[](#from-the-original-7coders-readmemd)

Handlebars renderer for Yii2 framework.

This extension provides a `ViewRender` that would allow you to use handlebars-php view template engine.

To use this extension, simply add the following code in your application configuration:

```
return [
    //....
    'components' => [
        'view' => [
            'renderers' => [
                'handlebars' => [
                    'class' => 'exertis\handlebars\ViewRenderer',
                    // the file extension of Handlebars templates
                    // 'extension' => '.handlebars',
                    // path alias pointing to where Handlebars cache will be stored. Set to false to disable templates cache.
                    // 'cache' => '@app/runtime/handlebars',
                    // array helpers to preload, can contain class names (strings).
                    // If empty - only default helpers will be preloaded
                    // 'helpers' => [],
                    // a callable function to escape values
                    // 'escape' => 'htmlspecialchars',
                    // array to pass as extra parameter to the escape function
                    // 'escapeArgs' => [ENT_COMPAT, 'UTF-8']
                ],
            ],
        ],
    ],
];
```

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist exertis/yii2-handlebars "*"

```

or add

```
"exertis/yii2-handlebars": "*"

```

to the require section of your composer.json.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

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://www.gravatar.com/avatar/091014707de0946d5ce7ba9fa5a86473a14b8b0814f7c623a45f127a914edafc?d=identicon)[russellhutsonmicro-p](/maintainers/russellhutsonmicro-p)

---

Top Contributors

[![russellhutsonmicro-p](https://avatars.githubusercontent.com/u/6674315?v=4)](https://github.com/russellhutsonmicro-p "russellhutsonmicro-p (4 commits)")

### Embed Badge

![Health badge](/badges/exertis-yii2-handlebars/health.svg)

```
[![Health](https://phpackages.com/badges/exertis-yii2-handlebars/health.svg)](https://phpackages.com/packages/exertis-yii2-handlebars)
```

PHPackages © 2026

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