/xr

PHP client library for xrDebug

Primary LanguagePHPApache License 2.0Apache-2.0

XR Debug

🔔 Subscribe to the newsletter to don't miss any update regarding Chevere.

XR

Crocanty.mp4

🦄 View demo

Build Code size Apache-2.0 PHPStan

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Technical Debt CodeFactor Codacy Badge

XR Debug is a dump debug utility for PHP. No extras required, debug your PHP code anywhere. It uses a ReactPHP SSE server to provide a web-based debug application.

Quick start

composer require --dev chevere/xr
docker run -t --init --rm -p 27420:27420 ghcr.io/chevere/xr-server

XR light XR light

Documentation

👉 xr-docs.chevere.org

Features

  • 🔏 Signed requests (Ed25519)
  • 💎 End-to-end encryption (AES-GCM AE)
  • Dump n arguments with VarDump driven variable highlight
  • 🐘 One-click PHP server run (no extras required)
  • 👻 Filter messages by Topics and Emotes
  • ✍️ Re-name "XR Debug" to anything you want
  • 🏁 Resume, Pause, Stop and Clear debug window controls
  • 🥷 Keyboard shortcuts (Resume R, Pause P, Stop S and Clear C)
  • 😊 Export dump output to clipboard or as PNG image
  • 📟 Generates dump backtrace
  • Pause and resume your code execution
  • 🌚 Dark / 🌝 Light mode follows your system preferences
  • 👽 Ephemeral, it doesn't store any persistent data
  • 🍒 Portable & HTML based (save page, search, etc.)
  • 🔥 Uses FiraCode font for displaying beautiful looking dumps
  • 😅 Handle exceptions (hook or replace your existing handler)

XR dark demo

License

Copyright 2023 Rodolfo Berrios A.

XR is licensed under the Apache License, Version 2.0. See 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.