PHP code example of yacon / yii2-ide-helper

1. Go to this page and download the library: Download yacon/yii2-ide-helper library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

yacon / yii2-ide-helper example snippets


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

'ideHelper' => [
    'class' => 'yacon\IdeHelper\IdeHelper',
    'rootDir' => dirname(dirname(__DIR__)),
],

protected $defaultConfigFiles = [
    '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',
];