PHPackages                             happytodev/phage-debug - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. happytodev/phage-debug

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

happytodev/phage-debug
======================

Phage Debug - Built-in debugging system for PHP development

v0.1.0(4mo ago)08MITPHPPHP &gt;=7.4

Since Feb 8Pushed 4mo agoCompare

[ Source](https://github.com/happytodev/phage-debug)[ Packagist](https://packagist.org/packages/happytodev/phage-debug)[ RSS](/packages/happytodev-phage-debug/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Phage Debug
===========

[](#phage-debug)

Built-in debugging system for PHP development with Phage. Simple and elegant debugging tool with zero configuration.

Features
--------

[](#features)

- 📝 **Logging** - Log messages with context
- 🔍 **Collapsible Variables** - Inspect variables with expandable tree view
- 🎨 **Syntax Coloring** - Color-coded display by type
- 📦 **Object Inspection** - View properties (public/protected/private)
- ⏱️ **Performance Measurement** - Measure execution time and memory
- 🗄️ **SQL Logging** - Log database queries with bindings
- ❌ **Exception Handling** - Capture and analyze exceptions
- 📊 **Table Display** - Display data as formatted tables
- 📡 **HTTP Requests** - Log HTTP requests and responses
- 🔄 **Stack Traces** - Get detailed stack traces
- ✨ **Zero Configuration** - Works out of the box
- 📡 **Real-time Updates** - Live WebSocket connection to debug UI
- 💾 **Persistent History** - SQLite database backend

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

[](#installation)

Install via Composer:

```
composer require happytodev/phage-debug
```

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- Phage debug server running on `http://localhost:23517` (default)

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

[](#quick-start)

**1. Make sure the Phage debug server is running:**

```
./phage debug:start
```

**2. Use in your PHP code:**

```
