laradumps

🛻 LaraDumps is a friendly app designed to boost your Laravel PHP coding and debugging experience.

MIT License

Downloads
327.3K
Stars
694
Committers
20

👋 Hello Dev,

LaraDumps is a friendly app that boosts your Laravel PHP coding and debugging experience.

When using LaraDumps, you can see the result of your debug displayed in a standalone Desktop application.

These are some debug tools available for you:

Get Started

Requirements

PHP 8.1+ and Laravel 10.0+

Using Laravel

 composer require laradumps/laradumps --dev

PHP Project

 composer require laradumps/laradumps-core --dev

See also: https://laradumps.dev/get-started/release-notes.html#php-package

  • Debug your code using ds() in the same way you would use Laravel's native functions dump() or dd().

  • Run your Laravel application and see the debug dump in the LaraDumps App window.

Example

Here's an example:

// File: routes/web.php

<?php 

Route::get('/', function () {
    ds('Home page accessed!');
    return view('home');
});

The Desktop App receives:

// File: routes/web.php

<?php 

Route::get('/', function () {
    \App\Models\User::all(); // duplicate query example
    \App\Models\User::all(); // duplicate query example
    \App\Models\Dish::all();
    return '';
});

The Desktop App receives:

Credits

LaraDumps is a free open-source project, and it was inspired by Spatie Ray, check it out!

Package Rankings
Top 2.38% on Packagist.org