The Solo Dumps Laravel package by Aaron Francis is a console command that intercepts dump()
calls from your Laravel application and displays them in a dedicated terminal:
This package works by installing as a --dev
dependency in your application and running the solo:dumps
command. The command runs in the foreground and intercepts dump()
calls from your application. While this command runs, dumps will not output in the browser or API response.
Main 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
You can learn more about this package, get full installation instructions, and view the source code on GitHub.