Open Source & Free Forever

DebugPHP — Your PHP output,
live in the browser.

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.

$ composer require callmeleon167/debugphp --dev
PHP 8.1+ Zero dependencies MIT License
DebugPHP Dashboard
a3f8c1d2
Memory: 4.2 MB Template: home.php Queries: 7
⏸ Pause 🗑 Clear
info14:23:01.042
string(27) "User login successful"
SQL14:23:01.089
string(41) "SELECT * FROM users WHERE id = 42"
Timer14:23:01.201
string(14) "db-query: 23.4ms"
success14:23:01.334
object(User) (5) { ... }
Error14:23:01.512
RuntimeException — "Cache miss for key user_42"
info14:23:01.788
array(3) { [0] => ... }
$0Forever free
<60sInstall to first output
0Runtime dependencies
SSETrue real-time push
Why DebugPHP

Debugging shouldn't
cost you money.

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
Features

Everything you need.

Instant Real-Time Output

Powered by Server-Sent Events. Your debug data appears the moment it's generated — no page reload, no polling, no delay.

string(27) "User login successful"
object(User) (5) { ... }
db-query: 23.4ms
array(12) { [0] => ... }

Two Lines to Start

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);

Self-Hostable

Keep your debug data on your own server. Clone, composer install, run the setup wizard — done.

Framework Support

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.

Labels & Colors

Tag entries with types, labels, and colors. Filter by SQL, Error, Timer, or any custom type.

SQLError Timersuccess info

Live Toolbar Metrics

Push key-value pairs to the dashboard toolbar. Auto-cleared when no longer sent in a new request.

Memory: 4.2 MB Template: home.php

PHP-Native Type Rendering

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"
}
Getting Started

Ready in 60 seconds.

01

Install via Composer

Add DebugPHP as a dev dependency. Works with Laravel, Symfony, WordPress, or plain PHP.

$ composer require callmeleon167/debugphp --dev
02

Create a Debug Session

Open the Dashboard, click + New Session, and copy your unique session token.

Session: a3f8c1d2e5b7... Copy token
03

Initialize & Send

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));
Free. Forever. Open Source.

Ready to send()?

Stop refreshing pages. Start seeing your data — live, in the browser, right now.