spatie/x-ray
Scan your codebase for Ray debugging calls (ray(), rd(), Ray::*, ->ray()) and list where they occur so you can remove them before deploy. Supports multiple paths, ignores, snippets/summary, GitHub Actions annotations, and CI-friendly exit codes.
Log::debug() without Ray context).For Executives: "This tool lets us automate debugging consistency across our Laravel apps by scanning for Ray usage—just like a spellcheck for our code. It’s a 10-minute setup that saves hours of manual reviews, ensuring we’re all using the same observability standards. Think of it as a ‘debugging compliance’ layer for our tech stack."
For Engineering: *"Spatie’s x-ray is a CLI tool to audit Ray calls in our codebase. It’s perfect for:
composer.json and run it in pre-commit hooks."*How can I help you explore Laravel packages today?