Ray

plugin banner

Easily debug WordPress sites using Ray.

Author:Spatie (profile at wordpress.org)
WordPress version required:5.5
WordPress version tested:6.2
Plugin version:1.7.5
Added to WordPress repository:13-01-2021
Last updated:21-03-2023
Rating, %:100
Rated by:10
Plugin URI:https://github.com/spatie/wordpress-ray
Total downloads:22 913
Active installs:500+
plugin download
Click to start download

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
ChangeLog