#DebugHelper
Introduction
DebugHelper is a little collection of PHP functions to help me view data when debugging.
Installation
To get started with DebugHelper, simply run:
composer require michaeldrennen/debug-helper
DebugHelper tools for Laravel
Pretty print the query log
use Illuminate\Support\Facades\DB;
...
DB::enableQueryLog();
// Run queries...
$queryLog = DB::getQueryLog();
DebugHelper::laravelPrintQueryLog($queryLog);
License
DebugHelper is open-sourced software licensed under the MIT license