Inspectors
Dump server
Capture Laravel dump() and dd() output in a dedicated tab.
What it does
When you run php artisan dump-server in a Laravel project, every dump() and dd() call streams its output to the Dump Server tab in Stratos instead of polluting the page response. Each dump is captured with its full stack trace.
How to use it
- Open the Dump Server tab in Stratos.
- In your project directory, run:
The command prints "Server listening on 127.0.0.1:9999".php artisan dump-server --format=server - Add a
dump()anywhere in your code:dump($user->toArray()); - Trigger the request. The dump appears in the Stratos tab within a frame.
Why not just use the page output?
For API endpoints, AJAX requests, and background jobs, dd() either breaks the response or gets swallowed entirely. The dump server side-steps both problems and gives you a unified view across every request hitting the app.
Format
Each dump is rendered as:
[2026-06-16 18:24:51] /Users/me/Sites/laravel-blog/app/Http/Controllers/UserController.php:42
User {#1234
+"id": 1,
+"email": "alice@example.com",
+"created_at": "2025-12-01"
}
Retention
The buffer is rotated to 200 entries. When the cap is reached, the oldest 50 are dropped.