man-85/yii2-dumper

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

Yii2 dumper function

Installs: 62

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Type:yii2-extension

v1.0.1 2019-03-08 18:50 UTC

This package is auto-updated.

Last update: 2024-04-11 17:19:44 UTC


README

This package wrap VarDumper::dump() to d(), dd() functions as a shortcut.

Installation

Install With Composer

The preferred way to install this extension is through composer.

Either run

composer require man-85/yii2-dumper "*"

Or, you may add

"man-85/yii2-dumper": "*"

to the require section of your composer.json file and execute php composer.phar update.

Install From the Archive

Download the latest release from here releases, then extract it to your project.

Usage

Since for the sake of Simplicity and Quick Development, I’ve created a helper for those who use Yii. You can just call dd($var1); for dump & die or d($var1); for dump data.

d($var);
dd($var);