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.
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.
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.
Contributors & Developers
“Ray” is open source software. The following people have contributed to this plugin.Contributors
“Ray” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “Ray” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
You can find the changelog at GitHub.