samman/yii2-advanced-debugger

There is no license information available for the latest version (1.2.1) of this package.

1.2.1 2022-11-01 16:42 UTC

This package is auto-updated.

Last update: 2025-03-01 00:38:57 UTC


README

Yii2 Advanced Debugger

Yii Framework

Package for advanced API debugging panels.

Features

New Panels Added to the Yii2 debugger via this package:

  • Response Panel

    Panel for the JSON response returned by the sent request.

  • CURL Panel

    Copy the request as a CURL with full params, headers, and body params.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require samman/yii2-advanced-debugger

or add

"samman/yii2-advanced-debugger": "*"

to the require section of your composer.json file.

In your main-local.php you should add the following

$config['modules']['debug'] = [
    'class' => 'yii\debug\Module',
    'panels' => [
        'respanel' => ['class' => 'samman\debug\ResponsePanel'],
        'curlpanel' => ['class' => 'samman\debug\CurlPanel']
    ],
];