array:2 [ ▼ "a" => 1 "b" => array:1 [▶] ]
Available for / /
Debug with Ray
to fix problems faster
- Use in WordPress or any PHP project…
- … or see models, mails, queries, and more in Laravel
- Works with Javascript and Node.js
- Quickly measure performance and set breakpoints
Good lookin' debug info
Strings, array, objects, … you can send anything to Ray from PHP/Laravel/WordPress or from JavaScript/Node.js. Ray formats the output and displays the origin of your calls.
Ray loves Laravel
When installed in a Laravel app, Ray can format models and queries, track events, and even render mailables.
Organize calls
Collapse and expand calls, or group items that belong together. Assign Ray colors to your dumps, so you can make use of the color filters in the UI.
Easy on the eyes
By default, Ray will follow the theme of your OS. And yes, there's a dark mode.
Setting breakpoints
You can pause your code. No need to install a special PHP extension.
Your IDE's sidekick
Use system-wide hotkeys to jump to Ray, or have its compact window permanently float above all other windows.
![]()
As an amateur developer that swears by
dd()
, I was thrilled to hear about Ray. Now I can feel like a real developer, even without using 'real' debugging tools!
Michael DyryndaLead Software Developer at Superloop
![]()
Ray is a part of my Essentials toolbox. It has the snapiness of a real debugger, but the simplicity of
dd()
Nuno MaduroSoftware Engineer at Laravel
![]()
Ray is the app I've been missing in my development toolkit. Debugging any sized application is now a breeze.
James BrooksSoftware Developer at Laravel
Simple syntax
-
ray($anything);
- Send a string, arrays, object, … to Ray
-
ray($anything, $somethingElse);
- Send as much as you want
-
ray($anything)->green();
- Apply a color, so you can use Ray's color filters
-
ray()->queries();
- See all queries executed by your Laravel app
-
ray()->measure();
- Check execution time and memory usage
-
ray()->trace();
- Find out where your code was called from
-
ray()->pause();
- Pause your code
-
ray()->ban();
- Keep it cool while debugging