2017 © Pedro Peláez
 

library yii2-ide-helper

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

image

mis/yii2-ide-helper

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

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 108 % Grown

The README.md

Yii2 IDE Helper Generator

Install

Require this package with composer using the following command:, (*1)

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

or add, (*2)

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

to the require-dev section of your composer.json file., (*3)

Usage

After updating composer, add the component to the components array and bootstrap array in config file of console application:, (*4)

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

Now you can generate ide helper file by command:, (*5)

php yii ide-helper/generate

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:, (*6)

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',
];

The Versions

18/12 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

 

The Development Requires

yii2 helper phpdoc autocomplete ide phpstorm netbeans sublime codeintel

22/11 2016

v1.0.2

1.0.2.0

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

  Sources   Download

MIT

The Requires

 

yii2 helper phpdoc autocomplete ide phpstorm netbeans sublime codeintel

21/11 2016

v1.0.1

1.0.1.0

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

  Sources   Download

MIT

The Requires

 

yii2 helper phpdoc autocomplete ide phpstorm netbeans sublime codeintel

21/11 2016

v1.0.0

1.0.0.0

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

yii2 helper phpdoc autocomplete ide phpstorm netbeans sublime codeintel