man-85 / yii2-dumper
There is no license information available for the latest version (v1.0.1) of this package.
Yii2 dumper function
v1.0.1
2019-03-08 18:50 UTC
Requires
- yiisoft/yii2: ~2.0.14
This package is auto-updated.
Last update: 2026-04-11 21:37:42 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);