mirocow / yii2-elasticsearch-debug
Yii2 elasticsearch 调试面板
v0.0.5
2019-11-27 00:49 UTC
Requires
- php: >=5.4.0
- mirocow/yii2-elasticsearch: ^1.0.15
- yiisoft/yii2: >=2.0
- yiisoft/yii2-debug: ^2.0
README
安装
$ 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', ], ], ]; } ];