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

dev-master 2019-04-14 17:25 UTC

This package is not auto-updated.

Last update: 2024-04-18 13:28:32 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:

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