spatie/ray

Debug with Ray to fix problems faster

Maintainers

👁 spatie

Package info

github.com/spatie/ray

pkg:composer/spatie/ray

Fund package maintenance!

spatie

Other

Statistics

Installs: 45 226 263

Dependents: 756

Suggesters: 1

Stars: 622

Open Issues: 0

1.48.0 2026-03-31 12:44 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 974ac9c6e315033ab8ace883d60e094522f88ede

spatieray

This package is auto-updated.

Last update: 2026-06-02 10:34:20 UTC


README

👁 Latest Version on Packagist
👁 Tests
👁 Total Downloads

This package can be installed in any PHP application to send debug output to Ray, the desktop debugging app from Spatie.

👁 Image

Ray is a desktop debugging app that keeps the instant feedback you get from console.log() and dump() but lets you use the same debugging syntax across Laravel, PHP, JavaScript and more frameworks and languages.

  • Send anything you want to Ray, including HTML, arrays, queries, and Markdown files.
  • View and interact with output your AI sends to Ray using our MCP server.
  • Measure performance and pause execution in PHP.
  • Beautifully designed themes to match your style.

Download our free trial and send up to 20 messages each session. Enjoying Ray? Buy a license to unlock the app and get full access.

Documentation

You can find the full documentation for using Ray with PHP on https://myray.app/docs/php.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.