mirocow/yii2-elasticsearch-debug

Yii2 elasticsearch debug panel

Installs: 128

Dependents: 0

Suggesters: 0

Stars: 3

Watchers: 1

Forks: 2

Type:yii2-extension

v0.0.5 2019-11-27 00:49 UTC

README

Install

$ composer require --prefer-dist mirocow/yii2-elasticsearch-debug
if (YII_DEBUG) {
    // configuration adjustments for 'dev' environment
    $config['bootstrap'][] = 'debug';
    $config['modules']['debug'] = [
        'class' => 'yii\debug\Module',
        'allowedIPs' => ['127.0.0.1', '::1'],
        'panels' => [
            'elasticsearch' => [
                'class' => 'mirocow\\elasticsearch\\debug\\DebugPanel',
            ],
        ],
    ];
}
];