PHPackages                             dungang/yii2-headroom - 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. dungang/yii2-headroom

ActiveLibrary

dungang/yii2-headroom
=====================

headroom.js#0.9.3 for Yii2

0.0.1(7y ago)03MITPHPPHP &gt;=5.4.0

Since Jun 8Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

yii2-headroom
=============

[](#yii2-headroom)

headroom.js#0.9.3

> 安装

```
composer require yii2-headroom

```

> 使用

```
dungang\headroom\HeadRoom::widget([
    'id'=>'#head',
    'options'=>[]
]);

```

协议 MIT
------

[](#协议-mit)

The MIT License (MIT)

Copyright (c) 2017 dungang

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

2896d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7221526?v=4)[顿刚](/maintainers/dungang)[@dungang](https://github.com/dungang)

---

Top Contributors

[![dungang](https://avatars.githubusercontent.com/u/7221526?v=4)](https://github.com/dungang "dungang (6 commits)")

### Embed Badge

![Health badge](/badges/dungang-yii2-headroom/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

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