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: 2024-04-29 04:34:34 UTC


README

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.

    198234064-152310e8-da7f-4b18-8e2b-f84b38d9bd2a.png
  • CURL Panel

    Copy the request as a CURL with full params, headers, and body params. 198233273-b7378f40-6a01-4232-98db-2e07f352552f.png

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