dlcrush/laravel-dbug
最新稳定版本:v1.1.0
Composer 安装命令:
composer require dlcrush/laravel-dbug
包简介
A library for nicer looking variable dumps comparable to ColdFusion's cfdump.
README 文档
README
This is a laravel package that makes your variable dumps look nicer. The output is comparable to ColdFusion's cfdump.
Based off of dBug class https://github.com/ospinto/dbug
Installation
This will walk you through how to set up the package.
- Add the following to your composer.json under require:
"dlcrush/laravel-dbug": "~1.1.0"
-
Composer update
-
Add the Service Provider to the providers array in
app/config/app.php
'dlcrush\DBug\DBugServiceProvider',
- Add alias in
app/config/app.php
'DBug' => 'dlcrush\DBug\Facades\DBug',
Usage
To dump out a variable, do the following:
DBug::DBug($var);
To dump and then die, do the following:
DBug::DBug($var, true);
统计信息
- 总下载量: 181
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-02-05