# spatie/wordpress-ray - Send debug output from WordPress to Ray

[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/wordpress-ray.svg?style=flat-square)](https://packagist.org/packages/spatie/wordpress-ray)
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/spatie/wordpress-ray/Tests?label=tests)](https://github.com/spatie/wordpress-ray/actions?query=workflow%3ATests+branch%3Amaster)
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/wordpress-ray.svg?style=flat-square)](https://packagist.org/packages/spatie/wordpress-ray)

This package can be installed in any WordPress project to send debug output to [Ray](https://myray.app), the desktop debugging app from [Spatie](https://spatie.be/). 

[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/wordpress-ray.jpg?t=1769610086" width="500px" />](https://spatie.be/github-ad-click/wordpress-ray)

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](https://myray.app/) and send up to 20 messages each session. Enjoying Ray? [Buy a license](https://spatie.be/products/ray) to unlock the app and get full access.

## Documentation

You can find the full documentation for using Ray with WordPress on [https://myray.app/docs/php/wordpress](https://myray.app/docs/php/wordpress/getting-started).

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

## Contributing

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

## Security Vulnerabilities

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

## Release instructions for maintainers

- update spatie/ray in `composer.json` with the highest version number of the package
- update `readme.txt` and `wp-ray` with the new release number
- create a new release, it will automatically be pushed to the WordPress SVN

## Credits

- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
