PHPackages                             hughcube/yii-counter - 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. hughcube/yii-counter

ActiveLibrary

hughcube/yii-counter
====================

yii-counter

1.0(7y ago)07MITPHPPHP &gt;=7.0CI failing

Since Apr 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hughcube/yii-counter)[ Packagist](https://packagist.org/packages/hughcube/yii-counter)[ RSS](/packages/hughcube-yii-counter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

 yii-counter
=============

[](#-yii-counter-)

yii-counter [![Build Status](https://camo.githubusercontent.com/873141b898f4fc4a52152140067b596435b3391f15d67a9ef63586817172c0b0/68747470733a2f2f7472617669732d63692e636f6d2f68756768637562652f7969692d636f756e7465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/hughcube/yii-counter)

Installing
----------

[](#installing)

```
$ composer require hughcube/yii-counter -vvv
```

Usage
-----

[](#usage)

配置
--

[](#配置)

```
'counter' => [
    'class' => '\Hughcube\YiiCounter\Counter',
    'keyPrefix' => 'prefix',
    'storage' => [
        'class' => '\Hughcube\YiiCounter\RedisStorage',
        'redis' => 'redis'
    ]
]
```

License
-------

[](#license)

MIT

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2599d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d833a031b6ed1bf171306781f7ef01e988ad9f6c7d6a9071d9f913f25a098a5?d=identicon)[hughcube](/maintainers/hughcube)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hughcube-yii-counter/health.svg)

```
[![Health](https://phpackages.com/badges/hughcube-yii-counter/health.svg)](https://phpackages.com/packages/hughcube-yii-counter)
```

###  Alternatives

[craftcms/cms

Craft CMS

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

PHPackages © 2026

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