Stream debug data to a real-time dashboard via Server-Sent Events. No page reloads. No desktop apps. No configuration headaches. Just send() and see.
Existing tools are either paid, desktop-only, or require complex setups. DebugPHP is the free, open-source PHP debugging tool — a modern var_dump alternative that shows your output live in the browser.
| Feature | dd() / var_dump() | Xdebug | Ray $49/yr | DebugPHP |
|---|---|---|---|---|
| Real-time output | ✕ | ✕ | ✓ | ✓ |
| No page disruption | ✕ | ✓ | ✓ | ✓ |
| Zero configuration | ✓ | ✕ | ✕ | ✓ |
| Browser-based | ✕ | ✕ | ✕ | ✓ |
| No desktop app | ✓ | ~ | ✕ | ✓ |
| Free & open source | ✓ | ✓ | ✕ | ✓ |
| Self-hostable | ✕ | ✕ | ✕ | ✓ |
Powered by Server-Sent Events. Your debug data appears the moment it's generated — no page reload, no polling, no delay.
No config files. No IDE plugins. No browser extensions. Install, initialize, and send. That's it.
use DebugPHP\Debug;
Debug::init('token');
Debug::send($data);
Keep your debug data on your own server. Clone, composer install, run the setup wizard — done.
Designed to plug into modern PHP applications and frameworks with minimal effort. Use DebugPHP in the stack you already have, without framework-specific lock-in.
Tag entries with types, labels, and colors. Filter by SQL, Error, Timer, or any custom type.
Push key-value pairs to the dashboard toolbar. Auto-cleared when no longer sent in a new request.
Objects, arrays, and exceptions rendered in a familiar var_dump-style tree — with class names, string lengths, and full stack traces for exceptions.
object(App\Models\User) (4) {
["id"] => int(42)
["name"] => string(4) "Leon"
}
Add DebugPHP as a dev dependency. Works with Laravel, Symfony, WordPress, or plain PHP.
Open the Dashboard, click + New Session, and copy your unique session token.
Call Debug::init() once at your entry point. Then Debug::send() anything, anywhere.
Debug::init('a3f8c1d2e5b7');
Debug::send($user);
Debug::send($query, 'SQL')->color('blue');
Debug::metric('Memory', memory_get_usage(true));
send()?Stop refreshing pages. Start seeing your data — live, in the browser, right now.