PHP Classes

XR PHP Debugger Online: Debug PHP code using a Web interface

Recommend this page to a friend!
  Info   View files Documentation   Screenshots Screenshots   View files View files (73)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2022-05-04 (3 months ago) RSS 2.0 feedNot enough user ratingsTotal: 126 This week: 1All time: 9,292 This week: 220Up
Version License PHP version Categories
xr 1.0.0Custom (specified...8Debug, Utilities and Tools, Web services, L..., P...
Description Author

This package allows for debugging PHP code using a Web interface.

It provides classes and functions that can be called from existing PHP code to send debugging messages via HTTP to a debug Web server.

The package provides alternative functions to those that PHP provides to debug PHP code like var_dump and backtrace.

The debugging Web server can control the execution of the PHP code that is being debugged by communicating with this package to pause and resume the execution of the PHP code.

Innovation Award
PHP Programming Innovation award nominee
May 2022
Number 4
Most PHP developers need to debug their code as part of the development work to ensure it works well as expected.

PHP provides debugging functions that have limited capabilities.

There are alternative solutions based on PHP extensions that are hard to install and often required to alter the security protections to debug PHP applications running on production servers.

They often require special effort to integrate with IDE tools that support PHP.

This package provides a better alternative that allows developers to debug their PHP applications.

It allows developers to insert a few lines of code in the PHP applications that they want to debug.

Then developers can access a Web server that provides a user-friendly interface to control the PHP application they want to debug.

Manuel Lemos
Picture of Rodolfo Berrios Arce
Name: Rodolfo Berrios Arce <contact>
Classes: 1 package by
Country: Chile Chile
Innovation award
Innovation award
Nominee: 1x

Details

XR Debug

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

<p align="center"><img alt="XR" src="app/src/icon.svg" width="40%"></p>

https://user-images.githubusercontent.com/20590102/153045551-619c74cc-c4ae-41da-b7b6-bd8733e623a2.mp4

? View demo

Code size Apache-2.0

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.

<p align="center">

<img alt="XR light" src=".screen/xr-0.1.3-light-welcome.png">
<img alt="XR light" src=".screen/xr-0.1.3-dark-welcome.png">

</p>

Features

  • ? VarDump driven variable highlight
  • ? Dump n arguments
  • ? 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)

<p align="center">

<img alt="XR light demo" src=".screen/xr-0.1.3-light-demo.png">
<img alt="XR dark demo" src=".screen/xr-0.1.3-dark-demo.png">

</p>

Documentation

? xr-docs.chevere.org

License

Copyright 2022 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.

Screenshots  
  • .screen/xr-0.1.3-dark-demo.png
  • .screen/xr-0.1.3-dark-welcome.png
  • .screen/xr-0.1.3-light-demo.png
  • .screen/xr-0.1.3-light-welcome.png
  Files folder image Files  
File Role Description
Files folder image.ecs (3 files)
Files folder image.github (1 directory)
Files folder image.vscode (3 files)
Files folder imageapp (1 directory)
Files folder imagedemo (2 files)
Files folder imagesrc (9 files, 5 directories)
Files folder imagetests (9 files, 1 directory)
Accessible without login Plain text file .dockerignore Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file docker-bake.hcl Data Auxiliary data
Accessible without login Plain text file Dockerfile Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file meta.php Aux. Auxiliary script
Accessible without login Plain text file phpunit-report.xml Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file server.php Example Example script
Accessible without login Plain text file sonar-project.properties Data Auxiliary data

  Files folder image Files  /  .ecs  
File Role Description
  Accessible without login Plain text file .header Data Auxiliary data
  Accessible without login Plain text file ecs-chevere.php Class Class source
  Accessible without login Plain text file ecs.php Example Example script

  Files folder image Files  /  .github  
File Role Description
Files folder imageworkflows (3 files)

  Files folder image Files  /  .github  /  workflows  
File Role Description
  Accessible without login Plain text file docker.yml Data Auxiliary data
  Accessible without login Plain text file sonarcloud.yml Data Auxiliary data
  Accessible without login Plain text file test.yml Data Auxiliary data

  Files folder image Files  /  .vscode  
File Role Description
  Accessible without login Plain text file class.code-snippets Class Class source
  Accessible without login Plain text file settings.json Data Auxiliary data
  Accessible without login Plain text file test.code-snippets Class Class source

  Files folder image Files  /  app  
File Role Description
Files folder imagesrc (6 files, 1 directory)

  Files folder image Files  /  app  /  src  
File Role Description
Files folder imagefonts (1 directory)
  Accessible without login Plain text file app.js Data Auxiliary data
  Accessible without login Plain text file html2canvas.min.js Data Auxiliary data
  Accessible without login Image file icon.png Data Auxiliary data
  Accessible without login Plain text file icon.svg Data Auxiliary data
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  app  /  src  /  fonts  
File Role Description
Files folder imagefiracode (1 file)

  Files folder image Files  /  app  /  src  /  fonts  /  firacode  
File Role Description
  Accessible without login Plain text file LICENSE Lic. License text

  Files folder image Files  /  demo  
File Role Description
  Accessible without login Plain text file demo-throwable.php Example Example script
  Accessible without login Plain text file demo.php Class Class source

  Files folder image Files  /  src  
File Role Description
Files folder imageExceptions (1 file)
Files folder imageInspector (3 files, 1 directory)
Files folder imageInterfaces (5 files)
Files folder imageTraits (2 files)
Files folder imageVarDump (1 directory)
  Accessible without login Plain text file functions.php Class Class source
  Accessible without login Plain text file Xr.php Class Class source
  Accessible without login Plain text file XrBuild.php Class Class source
  Accessible without login Plain text file XrClient.php Class Class source
  Accessible without login Plain text file XrCurl.php Class Class source
  Accessible without login Plain text file XrInstance.php Class Class source
  Accessible without login Plain text file XrMessage.php Class Class source
  Accessible without login Plain text file XrThrowableParser.php Class Class source
  Accessible without login Plain text file XrWriterInstance.php Class Class source

  Files folder image Files  /  src  /  Exceptions  
File Role Description
  Accessible without login Plain text file XrStopException.php Class Class source

  Files folder image Files  /  src  /  Inspector  
File Role Description
Files folder imageTraits (2 files)
  Accessible without login Plain text file XrInspector.php Class Class source
  Accessible without login Plain text file XrInspectorInstance.php Class Class source
  Accessible without login Plain text file XrInspectorNull.php Class Class source

  Files folder image Files  /  src  /  Inspector  /  Traits  
File Role Description
  Accessible without login Plain text file XrInspectorNullTrait.php Class Class source
  Accessible without login Plain text file XrInspectorTrait.php Class Class source

  Files folder image Files  /  src  /  Interfaces  
File Role Description
  Accessible without login Plain text file XrClientInterface.php Class Class source
  Accessible without login Plain text file XrCurlInterface.php Class Class source
  Accessible without login Plain text file XrInspectorInterface.php Class Class source
  Accessible without login Plain text file XrInterface.php Class Class source
  Accessible without login Plain text file XrMessageInterface.php Class Class source

  Files folder image Files  /  src  /  Traits  
File Role Description
  Accessible without login Plain text file XrClientTrait.php Class Class source
  Accessible without login Plain text file XrCurlTrait.php Class Class source

  Files folder image Files  /  src  /  VarDump  
File Role Description
Files folder imageOutput (1 file)

  Files folder image Files  /  src  /  VarDump  /  Output  
File Role Description
  Accessible without login Plain text file XrVarDumpHtmlOutput.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder image_resources (6 files, 1 directory)
  Accessible without login Plain text file FunctionsTest.php Class Class source
  Accessible without login Plain text file XrBuildTest.php Class Class source
  Accessible without login Plain text file XrClientTest.php Class Class source
  Accessible without login Plain text file XrCurlTest.php Class Class source
  Accessible without login Plain text file XrInspectorNullTest.php Class Class source
  Accessible without login Plain text file XrInspectorTest.php Class Class source
  Accessible without login Plain text file XrMessageTest.php Class Class source
  Accessible without login Plain text file XrTest.php Class Class source
  Accessible without login Plain text file XrThrowableParserTest.php Class Class source

  Files folder image Files  /  tests  /  _resources  
File Role Description
Files folder imageapp (2 directories)
  Accessible without login Plain text file xr.php Aux. Auxiliary script
  Accessible without login Plain text file XrClientTester.php Class Class source
  Accessible without login Plain text file XrClientTesterStop.php Class Class source
  Accessible without login Plain text file XrCurlError.php Class Class source
  Accessible without login Plain text file XrCurlLockTrue.php Class Class source
  Accessible without login Plain text file XrCurlStopTrue.php Class Class source

  Files folder image Files  /  tests  /  _resources  /  app  
File Role Description
Files folder imagebuild (1 file)
Files folder imagesrc (4 files, 1 directory)

  Files folder image Files  /  tests  /  _resources  /  app  /  build  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  tests  /  _resources  /  app  /  src  
File Role Description
Files folder imagefonts (1 directory)
  Accessible without login Plain text file app.js Data Auxiliary data
  Accessible without login Plain text file icon.svg Data Auxiliary data
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file style.css Data Auxiliary data

  Files folder image Files  /  tests  /  _resources  /  app  /  src  /  fonts  
File Role Description
Files folder imagefiracode (1 file)

  Files folder image Files  /  tests  /  _resources  /  app  /  src  /  fonts  /  firacode  
File Role Description
  Accessible without login Plain text file firacode-regular.woff Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 100%
Total:126
This week:1
All time:9,292
This week:220Up
For more information send a message to info at phpclasses dot org.