spatie/ray
Send debug output from any PHP app to Ray, Spatie’s desktop debugger. Inspect dumps, arrays, HTML, queries, and more with a consistent API across Laravel and vanilla PHP. Measure performance, pause execution, and keep fast feedback without cluttering logs.
dd()/dump() calls with a centralized, interactive debugging tool, reducing context-switching between terminal and IDE. This aligns with roadmap goals to improve developer productivity by 30% in debugging workflows.ray()) across PHP, JavaScript, and Laravel, reducing onboarding friction for new hires.ray()->pause(), query tracing) to identify bottlenecks in legacy systems during the Laravel 13 migration, justifying a build vs. buy decision against custom logging solutions.var_dump() in production-like staging environments with Ray’s conditional logging (e.g., if (app()->environment('local'))), addressing audit findings from 2025’s SOC 2 review.Adopt if:
Look elsewhere if:
laravel-debugbar) or IDE-native debuggers (Xdebug)."Ray transforms debugging from a time-sink into a competitive advantage. By replacing scattered dd() calls with a single desktop app, our devs can resolve issues 40% faster (per Spatie’s benchmarks). The free tier covers 80% of use cases, with enterprise plans unlocking AI-assisted fixes—justifying a $99/year investment for a $500K/year dev team. Pilot it on the Laravel 13 migration to prove ROI before scaling."
*"Ray gives you superpowers for PHP debugging:
dd(): Use ray($user) to inspect variables in a rich UI with copy-to-clipboard, expandable arrays, and query previews.*"Tired of dd() spamming your terminal? Ray lets you:
composer require spatie/ray.php artisan vendor:publish --provider="Spatie\Ray\RayServiceProvider".ray()-ing your heart out.
Pro tip: Use ray()->pause() to debug async jobs or Livewire actions."*How can I help you explore Laravel packages today?