amnah / yii2-debug
Yii 2 Debug extension that captures ajax calls
Installs: 430
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2-debug: ^2.0.10
This package is not auto-updated.
Last update: 2024-11-14 16:02:39 UTC
README
This is an improved version of the official yii2-debug module.
The main benefit of this version is that it captures ajax calls and updates the debugbar accordingly. Additionally, the main common panels are more compact.
Note: The official yii2-debug has since added its own ajax implementation. Their version is a hover div instead of a dropdown. You can see the difference in images below
Demo image:
Official Yii2 Debug image (for reference):
Installation:
Install package via composer "amnah/yii2-debug": "dev-master"
Usage:
if (YII_ENV_DEV) { // configuration adjustments for 'dev' environment $config['bootstrap'][] = 'debug'; $config['modules']['debug'] = [ 'class' => 'amnah\yii2\debug\Module', // uncomment and adjust the following to add your IP if you are not connecting from localhost. //'allowedIPs' => ['127.0.0.1', '::1'], ]; }