A library for nicer looking variable dumps comparable to ColdFusion's cfdump.
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.
- Add the following to your composer.json under require and then run
composer require repat/laravel-5-dbug
- Add the Service Provider to the providers array in
- Add alias in
'DBug' => dlcrush\DBug\Facades\DBug::class,
To dump out a variable, do the following:
To dump and then die, do the following: