PHPackages                             tacnoman/yii2hinclude - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tacnoman/yii2hinclude

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tacnoman/yii2hinclude
=====================

091JavaScript

Since Jul 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/tacnoman/yii2hinclude)[ Packagist](https://packagist.org/packages/tacnoman/yii2hinclude)[ RSS](/packages/tacnoman-yii2hinclude/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2Hinclude
============

[](#yii2hinclude)

---

This is a plugin to use [Hinclude JS](http://mnot.github.io/hinclude/) in Yii2.

Hinclude adds one element to HTML; hx:include. When the browser encounters this element, it will include the document at the end of the src attribute.

```
{
    "require": {
        "tacnoman/yii2hinclude": "dev-master"
    }
}
```

How to usage:
-------------

[](#how-to-usage)

```
use \Tacnoman\Yii2Hinclude;

Yii2Hinclude::begin(['url'=>['page','id'=>3]);
    // if you are using fontawesome
    echo '';
Yii2Hinclude::end();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

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/904dffc09e9e7060ed4a1b5bb5023e100f0a723240e2bd14a5324cd9d184a675?d=identicon)[Tacnoman](/maintainers/Tacnoman)

---

Top Contributors

[![renatocassino](https://avatars.githubusercontent.com/u/5348316?v=4)](https://github.com/renatocassino "renatocassino (10 commits)")

### Embed Badge

![Health badge](/badges/tacnoman-yii2hinclude/health.svg)

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

PHPackages © 2026

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