Skip to content

repat/laravel-5-dbug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A laravel package that provides nice looking variable dumps. Based on the dBug library and inspired by ColdFusion's cfdump

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%