Skip to content

amnah/yii2-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-debug

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:

demo

Official Yii2 Debug image (for reference):

official

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'],
    ];
}

About

yii2-debug extension that captures ajax calls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published