mirocow/yii2-elasticsearch-debug

Yii2 elasticsearch debug panel

Installs: 4 678

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 3

Type:yii2-extension

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

This package is auto-updated.

Last update: 2024-11-27 12:43:44 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',
            ],
        ],
    ];
}
];