Debugging Made Easy in Laravel with Laradumps 

Share this post on:

If you’ve been working with Laravel for a while, you already know how often debugging becomes part of your daily workflow. Most of us start with dd() or dump(), but as the project grows, those methods quickly get messy. 

That’s where Laradumps comes in. It’s a modern, elegant, and powerful debugging tool designed specifically for Laravel developers. In this blog, we’ll walk through everything you need to get started with Laradumps — step by step. 

What is Laradumps? 

Laradumps is an open-source Laravel debugging tool that sends your debug output to a desktop application (instead of your browser). This means you can keep your debug logs clean, formatted, and searchable — without messing up your app’s response. 

Some cool features: 

  • Send dumps outside the browser 
  • Pretty-printed objects and arrays 
  • Notifications for queries, events, and requests 
  • Dark/light theme support 
  • Easy to install & use 

Step 1: Install Laradumps Desktop App 

First, download and install the Laradumps App on your machine. 

Download Laradumps App 

It’s available for Windows, macOS, and Linux. Once installed, keep the app running — this is where all your dumps will appear. 

Step 2: Install Laradumps in Laravel 

In your Laravel project, install the Laradumps package via Composer: 

composer require laradumps/laradumps --dev 

Step 3: Publish Configuration (Optional) 

If you want to customize Laradumps, publish the config file: 

php artisan vendor:publish --provider="LaraDumps\LaraDumpsServiceProvider" 

This will create a config/laradumps.php file where you can tweak host, port, colors, and more. 

Step 4: Using Laradumps 

Here’s where the fun begins. Instead of using dd() or dump(), you use ds(). 

Example 1: Dumping Variables 

$user = User::find(1); 

ds($user);

This will send the user object to your Laradumps desktop app, nicely formatted. 

Example 2: Multiple Dumps 

ds('Starting process...'); 

$order = Order::find(10); 

ds($order, 'Order Details'); 

ds('Process completed');

Example 3: Listening for Events 

You can even dump when certain events happen: 

ds()->watch('App\Events\OrderShipped'); 

Whenever the OrderShipped event is fired, Laradumps will log it. 

Example 4: Database Query Debugging 

Enable query monitoring in your code: 

ds()->queriesOn(); 

Now, every query Laravel runs will be sent to Laradumps. No more messy DB::listen() hacks! 

Step 5: Advanced Features 

Laradumps has some extra goodies you’ll love: 

  • Notifications: Get native OS notifications when a dump is sent. 
  • Color Tagging: Mark dumps with colors for better organization. 
  • Filtering: Filter by models, queries, or events in the app. 

Step 6: When to Use Laradumps vs dd() 

  • Use dd() only when you want to immediately stop execution. 
  • Use ds() when you want non-blocking debug logs without breaking your app. 
  • Use Laradumps for real-time debugging during development

Conclusion 

Laradumps is a game-changer for Laravel developers. It keeps debugging clean, elegant, and organized — all without breaking your workflow. Once you try it, you’ll never want to go back to dd() for everyday debugging. 


Author: Piyush Solanki

Piyush is a seasoned PHP Tech Lead with 10+ years of experience architecting and delivering scalable web and mobile backend solutions for global brands and fast-growing SMEs. He specializes in PHP, MySQL, CodeIgniter, WordPress, and custom API development, helping businesses modernize legacy systems and launch secure, high-performance digital products.

He collaborates closely with mobile teams building Android & iOS apps , developing RESTful APIs, cloud integrations, and secure payment systems using platforms like Stripe, AWS S3, and OTP/SMS gateways. His work extends across CMS customization, microservices-ready backend architectures, and smooth product deployments across Linux and cloud-based environments.

Piyush also has a strong understanding of modern front-end technologies such as React and TypeScript, enabling him to contribute to full-stack development workflows and advanced admin panels. With a successful delivery track record in the UK market and experience building digital products for sectors like finance, hospitality, retail, consulting, and food services, Piyush is passionate about helping SMEs scale technology teams, improve operational efficiency, and accelerate innovation through backend excellence and digital tools.

View all posts by Piyush Solanki >