Looking to hire Laravel developers? Try LaraJobs

laravel-debugbar-dd maintained by gooby

Description
Ever wanted to dd() and see the debugbar? This package does just that by calling bd() - Bar Dump.
Last update
2024/03/13 06:12 (dev-master)
License
Downloads
813
Tags

Comments
comments powered by Disqus

laravel-debugbar-dd

Ever wanted to dd() and see the debugbar? This package does just that by calling bd() - Bar Dump.

Installation

composer require gooby/laravel-debugbar-dd --dev

Usage

  • bd($var1, $var2, ...) - will dump the variables and show the debugbar
  • bd() - will show the debugbar

Example

Route::get('/', function () {
    $user = App\User::first();
    bd($user);
});

Example

Credits