PHPackages                             xrdebug/xrdebug - 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. xrdebug/xrdebug

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

xrdebug/xrdebug
===============

Lightweight debug utility (PHP based server)

2.0.4(1y ago)01.7k[3 issues](https://github.com/xrdebug/xrdebug-php/issues)Apache-2.0PHPPHP ^8.1

Since Dec 23Pushed 1y agoCompare

[ Source](https://github.com/xrdebug/xrdebug-php)[ Packagist](https://packagist.org/packages/xrdebug/xrdebug)[ Docs](https://docs.xrdebug.com)[ RSS](/packages/xrdebug-xrdebug/feed)WikiDiscussions 2.0 Synced today

READMEChangelog (1)Dependencies (18)Versions (2)Used By (0)

xrDebug (PHP based server)
==========================

[](#xrdebug-php-based-server)

This is the *original* xrDebug server written in pure PHP. You may want to check the newer implementation at [xrdebug/xrdebug](https://github.com/xrdebug/xrdebug).

Use this project if you want to bundle xrDebug in your based PHP project, just like [Chevereto](https://chevereto.com/).

[![xrDebug](app/src/icon.svg)](https://xrdebug.com)

[![Build](https://camo.githubusercontent.com/f1bcd1a43bd654c4b4529fc22d21868b21722f083f8f2fb6abba1f849e554452/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f787264656275672f787264656275672d7068702f746573742e796d6c3f6272616e63683d322e30267374796c653d666c61742d737175617265)](https://github.com/xrdebug/xrdebug-php/actions)[![Code size](https://camo.githubusercontent.com/d9cd1624497d93d411c4c4852de1675fc6891d278aec2321317d278d74bbb703/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f787264656275672f787264656275672d7068703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/d9cd1624497d93d411c4c4852de1675fc6891d278aec2321317d278d74bbb703/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f787264656275672f787264656275672d7068703f7374796c653d666c61742d737175617265)[![Apache-2.0](https://camo.githubusercontent.com/8087894b4d5b20267a90e15df5cd01559989b7dfdf30ae56f0a476e26988e8eb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f787264656275672f787264656275672d7068703f7374796c653d666c61742d737175617265)](LICENSE)[![PHPStan](https://camo.githubusercontent.com/6016298b28550819030c76e9327f62501596a31fd76406695bae2f3d2a1f26a4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230392d626c756576696f6c65743f7374796c653d666c61742d737175617265)](https://phpstan.org/)[![Mutation testing badge](https://camo.githubusercontent.com/9d0c6afb3b782d570f7f355523136086868abdad4cd34f7ca092b4e69778a055/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742d7371756172652675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d2532467872646562756725324678726465627567253246322e30)](https://dashboard.stryker-mutator.io/reports/github.com/xrdebug/xrdebug-php/2.0)

[![Quality Gate Status](https://camo.githubusercontent.com/25f1d92598b72e6e20b331efb0e5863e1f95d48e82cf487eed4729a65e9d6653/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d787264656275675f787264656275672d706870266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=xrdebug_xrdebug-php)[![Maintainability Rating](https://camo.githubusercontent.com/605e81a0c257f5adca770fe398ea76461e28606ddef3ed2e62562c4b7b7003e7/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d787264656275675f787264656275672d706870266d65747269633d7371616c655f726174696e67)](https://sonarcloud.io/dashboard?id=xrdebug_xrdebug-php)[![Reliability Rating](https://camo.githubusercontent.com/9987c351d72bd3f640ce094eefa6a82e9af6b665be89d69c4acb3419b41864bb/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d787264656275675f787264656275672d706870266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=xrdebug_xrdebug-php)[![Security Rating](https://camo.githubusercontent.com/471d945be24d9c364e53b4c131591d776844203b637000824fb4c1063bf54a0c/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d787264656275675f787264656275672d706870266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/dashboard?id=xrdebug_xrdebug-php)[![Coverage](https://camo.githubusercontent.com/c9b670909c071026d29557bef957ffb8c76ca22a9444ef4321db4ee87f1e4604/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d787264656275675f787264656275672d706870266d65747269633d636f766572616765)](https://sonarcloud.io/dashboard?id=xrdebug_xrdebug-php)[![Technical Debt](https://camo.githubusercontent.com/c00b6672c0e64ea0085fad55052778efc0f126ab9311d1429bf4714929977256/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d787264656275675f787264656275672d706870266d65747269633d7371616c655f696e646578)](https://sonarcloud.io/dashboard?id=xrdebug_xrdebug-php)

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

[](#installation)

```
composer require xrdebug/xrdebug
```

 [![xrDebug light](.screen/xrdebug-1.1.0-splash-light.png)](.screen/xrdebug-1.1.0-splash-light.png)

 [![xrDebug dark](.screen/xrdebug-1.1.0-splash-dark.png)](.screen/xrdebug-1.1.0-splash-dark.png)

Documentation
-------------

[](#documentation)

Documentation available at [docs.xrdebug.com](https://docs.xrdebug.com/).

Features
--------

[](#features)

- Ephemeral, it doesn't store any persistent data
- Signed requests (Ed25519)
- End-to-end encryption (AES-GCM AE)
- Filter messages by Topics and Emotes
- Resume, Pause, Stop and Clear debug window controls
- Keyboard shortcuts (Resume **R**, Pause **P**, Stop **S** and Clear **C**)
- Re-name "xrDebug" session to anything you want
- Export dump output to clipboard or as PNG image
- Pause and resume your code execution
- Dark / Light mode follows your system preferences
- Portable &amp; HTML based (save page, search, etc.)
- Uses [FiraCode](https://github.com/tonsky/FiraCode) font for displaying *beautiful looking dumps* ™
- Open with editor links
- Responsive user interface

 [![xrDebug light demo](.screen/xrdebug-1.1.0-demo-dark.png)](.screen/xrdebug-1.1.0-demo-dark.png)

 [![xrDebug dark demo](.screen/xrdebug-1.1.0-demo-light.png)](.screen/xrdebug-1.1.0-demo-light.png)

PHP Features
------------

[](#php-features)

- Configuration via code and `xr.php` file
- Dump arguments using [VarDump](https://chevere.org/packages/var-dump.html)
- Generates dump backtrace
- Custom inspectors
- Handle errors and exceptions (hook or replace your existing handler)

License
-------

[](#license)

Copyright [Rodolfo Berrios A.](https://rodolfoberrios.com/)

xrDebug is licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) for the full license text.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

556d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a87fbbcb1518fe64878bc53dedd9f61b81243cbb21b73c26f5e299d501375984?d=identicon)[rodolfo](/maintainers/rodolfo)

---

Top Contributors

[![rodber](https://avatars.githubusercontent.com/u/20590102?v=4)](https://github.com/rodber "rodber (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[xrdebug/php

PHP client library for xrDebug

23824.8k3](/packages/xrdebug-php)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M885](/packages/laravel-socialite)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[chevere/chevere

High quality library for building modern PHP

9719.0k4](/packages/chevere-chevere)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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