Plugin info

Total downloads: 33,016
Active installs: 600
Total reviews: 10
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 1/27/2025 (337 days ago)
Added to WordPress: 1/13/2021 (4 years old)
Minimum WordPress version: 5.5
Tested up to WordPress version: 6.7.4
Minimum PHP version: 8.0

Maintenance & Compatibility

Maintenance score

Stale • Last updated 337 days ago • 10 reviews

42/100

Is Ray abandoned?

Likely maintained (last update 337 days ago).

Compatibility

Requires WordPress: 5.5
Tested up to: 6.7.4
Requires PHP: 8.0

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Query Monitor – The developer tools panel for WordPress
Rating 4.9/5 (461 reviews)Active installs 200,000
Apermo Xdebug
Rating 5.0/5 (1 reviews)Active installs 10
TIVWP-DM Development Manager
Rating 0.0/5 (0 reviews)Active installs 10
What's running
Rating 5.0/5 (2 reviews)Active installs 0
Frontend Debugger
Rating 5.0/5 (1 reviews)Active installs 0
Indabug
Rating 5.0/5 (1 reviews)Active installs 0

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.

Installation

No installation instructions available

Frequently Asked Questions

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.

Review feed

AmitT
1/13/2021

A very good solution for a quick & effucient debugging

Just start using it and it saves me a lot of time & mistakes. It takes only a few minutes to configure and helps me a lot in my daily work.
LatePoint
1/13/2021

Easy to use, great tool

Absolutely worth the price
Slava Abakumov
1/13/2021

Awesome tool to help developers debug the code

It's much easier to use Ray than do all the 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.
sebkay
1/14/2021

Where logging fails, Ray prevails

I was having trouble debugging an issue in my WP Cron task. It's quite complex and calls out to an external database in multiple places, so trying to figure out where the issue was started driving me insane. As there was a PHP error in my code (I was trying to call a method on null) my logger wasn't picking up any issues, nor was it even logging sometimes and no exceptions were being thrown. After installing Ray it worked right away with no setup (other than installing it with Composer). I then managed to find the issue in about 5 minutes because of Ray's simplicity and speed in giving you the output. The UI is minimal which is perfect as nothing gets in your way while trying to debug and having everything formatted beautifully is a massive win over basic debug logging. I bought a licence right away and would have happily paid 2x the price I did. Amazingly simple yet powerful 👌
John Hawkins
3/30/2023

Extremely helpful tool!

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!

Screenshots

No screenshots available

Changelog

You can find the changelog at GitHub.