xr
Lightweight debug utility for PHP (by chevere)
xDebug
Xdebug — Step Debugger and Debugging Aid for PHP (by xdebug)
Our great sponsors
xr | xDebug | |
---|---|---|
13 | 23 | |
202 | 2,873 | |
1.5% | 0.6% | |
5.1 | 8.9 | |
26 days ago | 12 days ago | |
PHP | PHP | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xr
Posts with mentions or reviews of xr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-22.
-
About using print_r...
Recently tried this: https://github.com/chevere/xr It's pretty good I think.
-
Introducing Chevere's VarDump
🤓 I also made a server for remote debugging, VarDump is the dump layer in XR Debug: https://xr-docs.chevere.org/
-
Open source OOP Project
I made this one recently, it is still on 0.something https://github.com/chevere/xr and it is a work in progress so you should expect a lot of work to be commited.
- Use "dd()", "dump()" and "ray()" in any PHP file on your system
- Using `dd` and `dump` in any PHP file on your system
-
ray VS xr - a user suggested alternative
2 projects | 26 Jan 2022
XR is a lightweight, free, Open Source PHP debugger alternative to Ray and Ray App.
-
Introducing chevere/xr debugger
👏 https://github.com/chevere/xr/commit/eb3b820e9ae8239ea1d9f4d1057e4a15b690d80e
I develop this on my free time, you can see what's next here: https://github.com/chevere/xr/issues
I've released a lightweight PHP debugger based on ReactPHP. I'm still working on it, but it already does a basic feature set. Give it a try at https://github.com/chevere/xr
Yeah at some time I will have to split these (target 1.0.0). 👉 https://github.com/chevere/xr/issues/34
xDebug
Posts with mentions or reviews of xDebug.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-25.
-
Moving from Java to PHP Project
I've gotten a lot of mileage out of Psalm, a static analysis tool that can help you identify potential bugs and things that might not be considered best practice, and XDebug, a debugging and profiling extension for PHP.
-
Your experience switching from vanilla PHP spaghetti/OOP to Symfony?
Step debugger
-
How to Use a Debugger in PHP
XDebug
-
How to step debug PHP code with Xdebug and PhpStorm on a DDEV setup
Xdebug, per the official website, “is an extension for PHP, and provides a range of features to improve the PHP development experience”.
-
How can I see a variable in the browser?
or var-dump() but what you probably want is a step debugger like XDebug.
There's FirePHP (I've never used it) but the most straightforward way to inspect variables is Xdebug (supported by PhpStorm, Visual Studio Code and NetBeans).
-
Modern tools for PHP developers
Before the introduction of debuggers like XDebug and ZendDebugger, developers were forced to spend excessive time understanding the root cause of an application’s misbehavior.
-
Weekly "ask anything" thread
Using Xdebug's profiling features. This takes some time to learn and setting up to your environment.
-
How to setup an automated testing pipeline with Codecov and GitHub Actions.
Setup PHP with XDebug: This section installs PHP with XDebug, which is a PHP extension that is critical to generating the coverage report file labeled "coverage.xml". For projects written in other programming languages, this section of the CI pipeline is usually where necessary setup for running the unit tests is done.
-
Debugging Drupal 9 with Xdebug and (VSCode || PHPStorm)
In the old days, debugging Drupal websites consisted of printing out an array variable and inspect its values within. However, today with a more complex Drupal codebase, those days are gone and ... behold Xdebug
What are some alternatives?
When comparing xr and xDebug you can also consider the following projects:
PHPDBG
XHProf - XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
PHP Debug Bar - Debug bar for PHP
Kint - Kint - a powerful and modern PHP debugging tool.
Tracy - 😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.
PHPBench - PHP Benchmarking framework
Barbushin PHP Console - Handle PHP errors, dump variables, execute PHP code remotely in Google Chrome
APM - PHP APM (Alternative PHP Monitor)
Dephpugger - Php Debugger to run in terminal to debug your code easily.
PHP Console - PHP Debug Console
Dontbug Debugger