spatie/laravel-ray
Send Laravel debug output to Ray, Spatie’s desktop debugger. Use a consistent “ray()” API to inspect variables, arrays, HTML, queries, and more, measure performance, and pause execution. Works alongside PHP, JS, and other integrations.
dd()/dump() calls with a unified, interactive debugging tool (Ray). Reduces context-switching between IDE and terminal.measure() directives).Log::debug() calls with structured Ray logs.Adopt if:
var_dump() can’t handle elegantly.Look elsewhere if:
For Executives:
*"Ray transforms Laravel debugging from a fragmented, manual process into a real-time, interactive experience—like Chrome DevTools for PHP. By adopting spatie/laravel-ray, we’ll:
dd(), Log::debug(), and database logs into one tool.For Engineering: *"Laravel-Ray integrates seamlessly with your existing stack to give you:
@ray() directives in views to dump variables without breaking the UI.@measure() and pause execution with @pause().
Implementation: One composer require + 10 mins to configure. Works with Laravel 11–13 and PHP 8.1+. No vendor lock-in—data stays local (no cloud dependency)."*How can I help you explore Laravel packages today?