PHPackages                             yii2/method-injector - 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. yii2/method-injector

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

yii2/method-injector
====================

Write dependencies in method definition then see how the library injects them

4.1(4y ago)023GPL-3.0+PHP

Since Aug 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/sobirjonovs/yii2-method-injector)[ Packagist](https://packagist.org/packages/yii2/method-injector)[ RSS](/packages/yii2-method-injector/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (1)Versions (12)Used By (0)

yii2-method-injector
====================

[](#yii2-method-injector)

Auto method dependency resolver

Install via composer
--------------------

[](#install-via-composer)

```
composer require yii2/method-injector
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Every ~1 days

Total

11

Last Release

1713d ago

Major Versions

1.0.5 → 2.02021-08-26

2.2 → 3.02021-08-29

3.0 → 4.02021-09-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/0409cb9c467282f20feb22f2e54bff3752851494e698c31eb9859813b86fa331?d=identicon)[sobirjonovs](/maintainers/sobirjonovs)

---

Top Contributors

[![sobirjonovs](https://avatars.githubusercontent.com/u/51774058?v=4)](https://github.com/sobirjonovs "sobirjonovs (28 commits)")

---

Tags

yii2extension

### Embed Badge

![Health badge](/badges/yii2-method-injector/health.svg)

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

###  Alternatives

[vyants/yii2-daemon

Extension provides functionality for simple daemons creation and control

7859.0k](/packages/vyants-yii2-daemon)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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