PHPackages                             soloterm/dumps - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. soloterm/dumps

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

soloterm/dumps
==============

A Laravel command to intercept dumps from your Laravel application.

v1.1.0(2mo ago)125285.7k—5.1%1[1 issues](https://github.com/soloterm/dumps/issues)3MITPHPPHP ^8.1CI passing

Since Mar 20Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/soloterm/dumps)[ Packagist](https://packagist.org/packages/soloterm/dumps)[ RSS](/packages/soloterm-dumps/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (10)Versions (4)Used By (3)

Solo Dumps for Laravel
======================

[](#solo-dumps-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0c438a69fb383a644a2fbad1382afd9f17d04cea379fe2aab13f20059a8885d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6c6f7465726d2f64756d7073)](https://packagist.org/packages/soloterm/dumps)[![Total Downloads](https://camo.githubusercontent.com/bd9ea77a45530efa76908d496559e1d2b87ecbd383b4a6c1801469f834f658a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6c6f7465726d2f64756d7073)](https://packagist.org/packages/soloterm/dumps)[![License](https://camo.githubusercontent.com/f37bcca1bb778b7730e320a42adf1dccf9acd01fa78aea84843eb2afc7cd05a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736f6c6f7465726d2f64756d7073)](https://packagist.org/packages/soloterm/dumps)

Solo Dumps for Laravel is a package that intercepts and collects `dump()` calls from your Laravel application and displays them in a dedicated terminal window. This eliminates the need to clutter your browser or API responses with debug output.

[![Screenshot](https://github.com/soloterm/dumps/raw/main/art/screenshot.png?raw=true)](https://github.com/soloterm/dumps/blob/main/art/screenshot.png?raw=true)

This library was built to support [Solo](https://github.com/soloterm/solo), your all-in-one Laravel command to tame local development.

This package is especially useful when:

- You're working with APIs where you can't see dumps in the browser
- You want to keep your browser console clean
- You want to centralize all your debugging output in one place
- You need source file information for your dumps

Installation
------------

[](#installation)

1. Require the package:

```
composer require soloterm/dumps --dev
```

The package will automatically register the service provider.

Usage
-----

[](#usage)

Simply run:

```
php artisan solo:dumps
```

This will start a server that intercepts all `dump()` calls from your Laravel application. The command will keep running and display any dumps in real-time.

Now when you use `dump()` anywhere in your application, the output will be sent to this terminal window instead of your browser or API response.

### Features

[](#features)

- Intercepts all `dump()` calls from your Laravel application
- Shows the exact file and line number where the dump was called
- Formats the output using Laravel's CLI dumper for better readability
- Works with APIs, background jobs, and other contexts where dumps are normally hard to see
- Preserves all the functionality of Laravel's dump helper
- Restores regular dump functionality when the command is stopped

### Works with Solo for Laravel

[](#works-with-solo-for-laravel)

If you're using [Solo for Laravel](https://github.com/soloterm/solo), you can add the dumps command to your configuration:

```
// config/solo.php

'commands' => [
    // ... other commands
    'Dumps' => 'php artisan solo:dumps',
],
```

Configuration
-------------

[](#configuration)

You can configure the dump server host in your `config/solo.php` file:

```
// config/solo.php

return [
    // ... other configurations
    'dump_server_host' => 'tcp://127.0.0.1:9984',
];
```

There is no dedicated `dumps` config file. You can either create a `solo.php` and put the `dump_server_host` in there, or add it to your existing `solo.php` file.

How It Works
------------

[](#how-it-works)

The package works by:

1. Registering a custom var dumper handler that captures dump calls
2. Resolving the source file and line number of the dump before sending to the server
3. Sending the dump data to a server running in a separate process
4. Displaying the formatted dump with source information in the terminal

FAQ
---

[](#faq)

#### Does this work with dd()?

[](#does-this-work-with-dd)

No, this package only intercepts `dump()` calls. The `dd()` function will still halt execution as normal.

#### Can I use this with APIs?

[](#can-i-use-this-with-apis)

Yes! This is one of the main benefits. Your API responses will remain clean while all dumps go to the dedicated terminal window.

#### Will this affect my application in production?

[](#will-this-affect-my-application-in-production)

The package is designed to be used in development only. It's recommended to install it with the `--dev` flag to ensure it's not included in production.

Support
-------

[](#support)

This is free! If you want to support me:

- Check out my courses:
    - [Database School](https://databaseschool.com)
    - [Screencasting](https://screencasting.com)
- Help spread the word about things I make

Credits
-------

[](#credits)

Dumps for Laravel was developed by Aaron Francis. If you like it, please let me know!

- Twitter:
- Website:
- YouTube:
- GitHub:

Related Projects
----------------

[](#related-projects)

- [Solo](https://github.com/soloterm/solo) - All-in-one Laravel command for local development
- [Screen](https://github.com/soloterm/screen) - Pure PHP terminal renderer
- [Grapheme](https://github.com/soloterm/grapheme) - Unicode grapheme width calculator
- [Notify](https://github.com/soloterm/notify) - PHP package for desktop notifications via OSC escape sequences
- [Notify Laravel](https://github.com/soloterm/notify-laravel) - Laravel integration for soloterm/notify
- [TNotify](https://github.com/soloterm/tnotify) - Standalone, cross-platform CLI for desktop notifications
- [VTail](https://github.com/soloterm/vtail) - Vendor-aware tail for Laravel logs

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance87

Actively maintained with recent releases

Popularity49

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~180 days

Total

3

Last Release

63d ago

PHP version history (2 changes)v1.0.0PHP ^8.2

v1.0.1PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/033238953a59b9223a1bde703b5e4254e63c7412195da1cb9de5af44bf53fc0a?d=identicon)[aarondfrancis](/maintainers/aarondfrancis)

---

Top Contributors

[![aarondfrancis](https://avatars.githubusercontent.com/u/881931?v=4)](https://github.com/aarondfrancis "aarondfrancis (29 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/soloterm-dumps/health.svg)

```
[![Health](https://phpackages.com/badges/soloterm-dumps/health.svg)](https://phpackages.com/packages/soloterm-dumps)
```

###  Alternatives

[barryvdh/laravel-debugbar

PHP Debugbar integration for Laravel

19.2k124.3M624](/packages/barryvdh-laravel-debugbar)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[beyondcode/laravel-dump-server

Symfony Var-Dump Server for Laravel

1.6k42.6M165](/packages/beyondcode-laravel-dump-server)[spatie/laravel-ignition

A beautiful error page for Laravel applications.

573146.7M471](/packages/spatie-laravel-ignition)[glhd/laravel-dumper

382801.4k](/packages/glhd-laravel-dumper)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
