gooby/laravel-debugbar-dd

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

v1.1.1 2024-03-13 05:12 UTC

This package is auto-updated.

Last update: 2024-04-13 05:34:52 UTC


README

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