PHPackages                             callmeleon167/debugphp - 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. [Admin Panels](/categories/admin)
4. /
5. callmeleon167/debugphp

ActiveLibrary[Admin Panels](/categories/admin)

callmeleon167/debugphp
======================

Real-time PHP debugging in the browser — zero config, zero dependencies, just send() and see.

v1.4.1(2mo ago)101540—4.2%8[1 PRs](https://github.com/CallMeLeon167/debugphp/pulls)MITPHPPHP ^8.1CI passing

Since Apr 9Pushed 5d ago1 watchersCompare

[ Source](https://github.com/CallMeLeon167/debugphp)[ Packagist](https://packagist.org/packages/callmeleon167/debugphp)[ Docs](https://debugphp.dev)[ RSS](/packages/callmeleon167-debugphp/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

[![DebugPHP](https://github.com/CallMeLeon167/debugphp-art/raw/main/DebugPHP_logo.png?raw=true)](https://github.com/CallMeLeon167/debugphp-art/blob/main/DebugPHP_logo.png?raw=true)**Real-time PHP debugging in the browser.**

DebugPHP streams your debug output to a browser-based dashboard via Server-Sent Events — no page reloads, no desktop apps, no configuration headaches.

[![License: MIT](https://camo.githubusercontent.com/1f3387dea266cdd2574235002ee53284bf608e1c6c3b3cefc696c344cad3e990/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d3030653839642e737667)](LICENSE)[![PHP Version](https://camo.githubusercontent.com/7d71b59ec3aa918b52f007e0b847cb62f0f386f380ad40e8130424eb8b25e372/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e312d3737374242342e737667)](https://php.net)[![Packagist Downloads](https://camo.githubusercontent.com/aa1b1e3331e3cb7700717089e557e49261bbb5e72b2dae505586efacbd1376ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616c6c6d656c656f6e3136372f64656275677068702e737667)](https://packagist.org/packages/callmeleon167/debugphp)

 [![DebugPHP Demo](https://raw.githubusercontent.com/CallMeLeon167/debugphp-art/refs/heads/main/showcase.gif)](https://raw.githubusercontent.com/CallMeLeon167/debugphp-art/refs/heads/main/showcase.gif)

---

Why DebugPHP?
-------------

[](#why-debugphp)

dd() / var\_dump()XdebugSpatie Ray**DebugPHP**Real-time output❌❌✅✅No page disruption❌✅✅✅Zero config❌❌❌✅Browser-based❌❌❌✅Free &amp; open source✅✅❌ ($49/yr)✅No dependencies✅❌❌✅---

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

[](#installation)

```
composer require callmeleon167/debugphp --dev
```

> **Requirements:** PHP 8.1+ and the `curl` extension.

---

Quick Start
-----------

[](#quick-start)

```
use DebugPHP\Debug;

// 1. Initialize with your session token from the dashboard
Debug::init('your-session-token');

// 2. Send anything
Debug::send('Hello DebugPHP!');
Debug::send($user);
Debug::send($request->all());
```

Open the [Dashboard](https://dashboard.debugphp.dev/) in your browser — your debug data appears in real-time.

---

Self-Hosted
-----------

[](#self-hosted)

Want to keep your debug data on your own server? Use the [DebugPHP Server](https://github.com/CallMeLeon167/debugphp-server):

### Option A — PHP built-in server

[](#option-a--php-built-in-server)

```
git clone https://github.com/CallMeLeon167/debugphp-server.git
cd debugphp-server
composer install
php -S localhost:8787
```

Then point your configuration to your local server:

```
Debug::init('your-session-token', [
    'host' => 'http://localhost:8787',
]);
```

### Option B — Docker

[](#option-b--docker)

```
git clone https://github.com/CallMeLeon167/debugphp-server.git
cd debugphp-server
docker compose up
```

Enable auto-detection so the client finds the server automatically:

```
Debug::init('your-session-token', [
    'dockerized' => true,
]);
```

---

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

[](#how-it-works)

1. Your PHP app sends debug data via HTTP to the DebugPHP server.
2. The server stores the entry and pushes it to the dashboard via SSE.
3. The browser dashboard renders the entry in real-time.

```
┌──────────────┐     POST /api/debug     ┌──────────────┐     SSE Stream     ┌──────────────┐
│   Your App   │ ──────────────────────→ │   DebugPHP   │ ────────────────→  │  Dashboard   │
│  Debug::send │                         │    Server    │                    │   (Browser)  │
└──────────────┘                         └──────────────┘                    └──────────────┘

```

---

Contributing
------------

[](#contributing)

Please read [CONTRIBUTING.md](CONTRIBUTING.md) before opening a pull request.

---

License
-------

[](#license)

MIT — see [LICENSE](LICENSE) for details.

---

Links
-----

[](#links)

- **Website:** [debugphp.dev](https://debugphp.dev)
- **Documentation:** [debugphp.dev/docs](https://debugphp.dev/docs)
- **Server:** [github.com/CallMeLeon167/debugphp-server](https://github.com/CallMeLeon167/debugphp-server)
- **Dashboard:** [dashboard.debugphp.dev](https://dashboard.debugphp.dev/)

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance94

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.5% 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 ~2 days

Total

6

Last Release

65d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6041bddd5f31ec34d938fc99a3c2b121d3f301ba0de77ba0d8e601550c5731a8?d=identicon)[CallMeLeon167](/maintainers/CallMeLeon167)

---

Top Contributors

[![CallMeLeon167](https://avatars.githubusercontent.com/u/115887796?v=4)](https://github.com/CallMeLeon167 "CallMeLeon167 (55 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

browsercomposerdashboarddebuggingdeveloper-toolslaravelphpreal-timessewordpressphpdebugdebuggingreal-timessedeveloper-tools

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/callmeleon167-debugphp/health.svg)

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

###  Alternatives

[jbzoo/jbdump

Script for debug and dump PHP variables and other stuff. This tool is a nice replacement for print\_r() and var\_dump() functions.

191.1M3](/packages/jbzoo-jbdump)[phpconsole/phpconsole

A detached logging facility for PHP to aid your daily development routine

387.5k1](/packages/phpconsole-phpconsole)[hosmelq/sse

A PHP library for consuming Server-Sent Events (SSE) streams with WHATWG compliance.

145.0k1](/packages/hosmelq-sse)[tomatophp/filament-pos

POS System for FilamentPHP with a lot of features and integration with Ecommerce Builder

681.5k](/packages/tomatophp-filament-pos)

PHPackages © 2026

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