Ray
Ray
Description
Ray is a beautiful, lightweight desktop app that helps you debug your app. There’s a free demo available that can be unlocked with a license.
After installing this plugin, you can use the ray() function to quickly dump stuff. Any variable(s) that you pass to ray() will be displayed.
Here some examples:
ray('Hello world');
ray(['a' => 1, 'b' => 2])->color('red');
ray('multiple', 'arguments', 'are', 'welcome');
ray()->showQueries();
There are many other helper functions available on Ray that allow you to display things that can help you debug such as runtime and memory usage, queries that were executed, and much more.
Full Documentation
The extensive documentation can be found here.
It contains the installation instructions for WordPress.
After it is installed you can use any of the framework agnostic and WordPress specific functions.
Faq
Want to know how to get started? Head over to our extensive docs.
Want to report a bug? Create an issue at the spatie/wordpress-ray repo.
Reviews
Very Helpful Dev Tool
By Kevin (kevmarsden) on November 7, 2023
I use this plugin everyday while doing WordPress dev work. It's a great tool.
Awesome debugging tool
By Kirk Beard (kirkbeard) on May 29, 2023
Ray has been a great to use when working on Laravel sites, so I'm glad they've made the effort to also support WordPress.
It's definitely worth the money!
Extremely helpful tool!
By John Hawkins (vegasgeek) on March 30, 2023
I've been using Ray for quite a while now and I have to say, it's one of the most useful dev tools I use! Gone are the days of spewing vardump and print_r to the screen!
Great debugging tool
By stirrell42 on October 22, 2021
Debugging your code made simple
By Dave Bolger (daveapb) on January 14, 2021
Where logging fails, Ray prevails
By sebkay on January 14, 2021
Easy to use, great tool
By LatePoint (latepoint) on January 13, 2021
Awesome tool to help developers debug the code
By Slava Abakumov (slaFFik) on January 13, 2021
error_log() and var_dump() calls on a page. You do not interrupt the flow (but you can pause it!) although receive all the needed information.
It's less powerful than Xdebug (although they have different purposes and use cases), but more flexible than printing debug output on a page/debug-bar/error log.
I highly recommend it.Such a time saver :heart:
By alexmartinfr on January 13, 2021
A very good solution for a quick & effucient debugging
By AmitT on January 13, 2021
Changelog
You can find the changelog at GitHub.