2017 © Pedro Peláez
 

yii2-extension yii2-debug-vardumper

Vardumper panel for yii2-debug

image

widewhale/yii2-debug-vardumper

Vardumper panel for yii2-debug

  • Wednesday, May 23, 2018
  • by widewhale
  • Repository
  • 1 Watchers
  • 0 Stars
  • 271 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 32 % Grown

The README.md

VarDumper panel for Yii2-debug

This extensions adds a panel which show var dumps using custom VarDumper::dump($var) function., (*1)

Installation

Install extention via composer command:, (*2)

composer require widewhale/yii2-debug-vardumper

Then add panel to your debug config:, (*3)

'modules'=>[
    ...
    'debug'=>[
        ...
        'panels'=>[
            ...
            'vardumper'=>[
                'class'=>'\widewhale\debug\vardumper\panels\VarDumperPanel'
            ]
        ]
    ]
    ...
]

Usage

...

use widewhale\debug\vardumper\components\VarDumper;

...

VarDumper::dump($var);

Since class name same as yii\helpers\VarDumper you basicly can just replace yii\helpers\VarDumper with widewhale\debug\vardumper\components\VarDumper if you're used default VarDumper helper previously., (*4)

IMPORTANT If you want to use yii\helpers\VarDumper and widewhale\debug\vardumper\components\VarDumper simultaneously you should use aliases (or fully qualified namespace names), (*5)

use widewhale\debug\vardumper\components\VarDumper;
use yii\helpers\VarDumper as YiiVarDumper;

...

VarDumper::dump($var);
YiiVarDumper::dump($var);

OR

\widewhale\debug\vardumper\components\VarDumper::dump($var);

The Versions

23/05 2018

dev-master

9999999-dev https://github.com/widewhale/yii2-debug-vardumper

Vardumper panel for yii2-debug

  Sources   Download

MIT

The Requires

 

extension yii2 panel yii2-debug vardumper

23/05 2018

v1.2

1.2.0.0 https://github.com/widewhale/yii2-debug-vardumper

Vardumper panel for yii2-debug

  Sources   Download

MIT

The Requires

 

extension yii2 panel yii2-debug vardumper

17/03 2017

v1.1

1.1.0.0 https://github.com/widewhale/yii2-debug-vardumper

Vardumper panel for yii2-debug

  Sources   Download

MIT

The Requires

 

extension yii2 panel yii2-debug vardumper

12/03 2017

dev-analysis-XNmRYG

dev-analysis-XNmRYG https://github.com/widewhale/yii2-debug-vardumper

A panel for yii2-debug with var dumps

  Sources   Download

MIT

The Requires

 

11/03 2017