repat / laravel-5-dbug by repat
forked from dlcrush/laravel-dbug

A library for nicer looking variable dumps comparable to ColdFusion's cfdump.
4,992
3
3
Package Data
Maintainer Username: repat
Maintainer Contact: dlcrush@mail.roanoke.edu (David Crush)
Package Create Date: 2015-12-14
Package Last Update: 2015-12-14
Home Page:
Language: PHP
License: GPL-2.0
Last Refreshed: 2024-04-14 15:06:53
Package Statistics
Total Downloads: 4,992
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 3
Total Watchers: 3
Total Forks: 0
Total Open Issues: 0

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);