man-85 / yii2-dumper
Yii2 dumper function
Installs: 81
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.14
This package is auto-updated.
Last update: 2025-05-11 19:37:26 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);