New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

repat/laravel-5-dbug

A library for nicer looking variable dumps comparable to ColdFusion's cfdump.
5,028 4
Install
composer require repat/laravel-5-dbug
Latest Version:v1.3.0
PHP:>=5.4.0
Laravel:5
Older releases:4
License:GPL-2.0
Last Updated:Dec 14, 2015
Links: GitHub  ·  Packagist
Maintainer: repat

DBug

laravel-5-dbug is a Laravel package that makes your variable dumps look nicer with the ospintos dBug class. The output is comparable to ColdFusion's cfdump. This repository is a fork from dlcrush/laravel-dbug with an update for Laravel 5 and a few minor fixes.

Installation

  1. Add the following to your composer.json under require and then run composer update

"repat/laravel-5-dbug": "~1.*"

OR

composer require repat/laravel-5-dbug

  1. Add the Service Provider to the providers array in app/config/app.php
dlcrush\DBug\DBugServiceProvider::class,
  1. Add alias in app/config/app.php
'DBug'			  => dlcrush\DBug\Facades\DBug::class,

Usage

To dump out a variable, do the following:

DBug::DBug($var);

To dump and then die, do the following:

DBug::DBug($var, true);

Related Packages

anil/dump

A Laravel dump server package for intercepting and displaying dump output.

6,952 2
guanguans/laravel-dump-sql

laravel 中轻松容易的输出完整的 SQL 语句。 - Easy output of complete SQL statemen...

40,322 36
lanin/laravel-api-debugger

Easily debug your JSON API.

1,972,006 231
frostrain/laravel-console-debug

Show debug informations in console

20,882 2

Version History

Version Released PHP Laravel License
v1.3.0 >=5.4.0 >=5.0.0 GPL-2.0
v1.2.0 >=5.4.0 >=5.0.0
v1.1.0 >=5.3.0 ~4
v1.0.0 >=5.3.0 ~4