PHPackages                             mis/yii2-ide-helper - 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. mis/yii2-ide-helper

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

mis/yii2-ide-helper
===================

Yii2 IDE Helper, generates correct PHPDocs for all components, to improve auto-completion.

v1.0.2(9y ago)1664.2k↓32.8%4[1 PRs](https://github.com/takashiki/yii2-ide-helper/pulls)3MITPHPPHP &gt;=5.4.0

Since Nov 21Pushed 2y ago5 watchersCompare

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

READMEChangelogDependencies (1)Versions (4)Used By (3)

Yii2 IDE Helper Generator
-------------------------

[](#yii2-ide-helper-generator)

### Install

[](#install)

Require this package with composer using the following command:

```
composer require mis/yii2-ide-helper --dev

```

or add

```
"mis/yii2-ide-helper": "*"

```

to the `require-dev` section of your `composer.json` file.

### Usage

[](#usage)

After updating composer, add the component to the `components` array and `bootstrap` array in config file of console application:

```
'bootstrap' => ['log', 'ideHelper'],
...
'components' => [
    'ideHelper' => [
      	'class' => 'Mis\IdeHelper\IdeHelper',
    ],
  ...
],
```

Now you can generate ide helper file by command:

```
php yii ide-helper/generate

```

### Options

[](#options)

```
'ideHelper' => [
    'class' => 'Mis\IdeHelper\IdeHelper',
    'filename' => '_ide_helper',
    'format' => 'php',
    'rootDir' => dirname(__DIR__),
    'configFiles' => [
        'console/config/main.php',
        'console/config/main-local.php',
    ],
],
```

Default config files:

```
protected $defaultConfigFiles = [
    'config/web.php',
    'config/main.php',
    'config/main-local.php',
    'common/config/main.php',
    'common/config/main-local.php',
    'frontend/config/main.php',
    'frontend/config/main-local.php',
    'backend/config/main.php',
    'backend/config/main-local.php',
];
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~0 days

Total

3

Last Release

3465d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2e0b6697b374ed2e9ff8567b7ed2ab2629fcb851b5daf891f085a47465f829e?d=identicon)[takashiki](/maintainers/takashiki)

---

Top Contributors

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

---

Tags

composeride-helpersyii2yii2-ide-helperphpdocautocompletehelperidephpstormnetbeanssublimecodeintelyii2

### Embed Badge

![Health badge](/badges/mis-yii2-ide-helper/health.svg)

```
[![Health](https://phpackages.com/badges/mis-yii2-ide-helper/health.svg)](https://phpackages.com/packages/mis-yii2-ide-helper)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[phalcon/ide-stubs

The most complete Phalcon Framework IDE stubs library which enables autocompletion in modern IDEs.

1623.1M121](/packages/phalcon-ide-stubs)

PHPackages © 2026

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