mirocow/yii2-elasticsearch-debug

Yii2 elasticsearch debug panel

Installs: 1 730

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 3

Type:yii2-extension

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

This package is auto-updated.

Last update: 2020-09-27 02:46:31 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',
            ],
        ],
    ];
}
];