composer require barryvdh/laravel-debugbar code example
Example 1: laravel debug bar
composer require barryvdh/laravel-debugbar --dev
Example 2: debug bar laravel print array
Debugbar::info($object);
Debugbar::error('Error!');
Debugbar::warning('Watch out…');
Debugbar::addMessage('Another message', 'mylabel');