Title: Ray
Author: freekmurze
Published: <strong>13 de enero de 2021</strong>
Last modified: 10 de diciembre de 2025

---

Buscar plugins

![](https://ps.w.org/spatie-ray/assets/banner-772x250.png?rev=2455717)

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://ps.w.org/spatie-ray/assets/icon.svg?rev=2796507)

# Ray

 Por [freekmurze](https://profiles.wordpress.org/freekmurze/)

[Descargar](https://downloads.wordpress.org/plugin/spatie-ray.1.7.10.zip)

 * [Detalles](https://es.wordpress.org/plugins/spatie-ray/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/spatie-ray/#reviews)
 * [Desarrollo](https://es.wordpress.org/plugins/spatie-ray/#developers)

 [Soporte](https://wordpress.org/support/plugin/spatie-ray/)

## Descripción

[Ray](https://myray.app) is a beautiful, lightweight desktop app that helps you 
debug your app. There’s a [free demo](https://myray.app) available that can be unlocked
with a [license](https://spatie.be/products/ray).

After installing this plugin, you can use the `ray()` function to quickly dump stuff.
Any variable(s) that you pass to `ray()` will be displayed.

Here some examples:

    ```
    ray('Hello world');

    ray(['a' => 1, 'b' => 2])->color('red');

    ray('multiple', 'arguments', 'are', 'welcome');

    ray()->showQueries();
    ```

There are many other helper functions available on Ray that allow you to display
things that can help you debug such as [runtime and memory usage](https://spatie.be/docs/ray/v1/usage/framework-agnostic-php-project#measuring-performance-and-memory-usage),
[queries that were executed](https://spatie.be/docs/ray/v1/usage/wordpress#showing-queries),
and much more.

### Full Documentation

The extensive documentation can be found [here](https://spatie.be/docs/ray).

It contains the [installation instructions](https://spatie.be/docs/ray/v1/installation-in-your-project/wordpress)
for WordPress.

After it is installed you can use any of the [framework agnostic](https://spatie.be/docs/ray/v1/usage/framework-agnostic-php-project)
and [WordPress specific functions](https://spatie.be/docs/ray/v1/usage/wordpress).

## FAQ

Want to know how to get started? Head over to [our extensive docs](https://spatie.be/docs/ray).

Want to report a bug? Create an issue at the [spatie/wordpress-ray](https://github.com/spatie/wordpress-ray)
repo.

## Reseñas

![](https://secure.gravatar.com/avatar/5e413954117cc0295659c65947be7f47c1af577bfba4150704dc46bd6d58f9bd?
s=60&d=retro&r=g)

### 󠀁[Very Helpful Dev Tool](https://wordpress.org/support/topic/very-helpful-dev-tool/)󠁿

 [Kevin](https://profiles.wordpress.org/kevmarsden/) 7 de noviembre de 2023

I use this plugin everyday while doing WordPress dev work. It's a great tool.

![](https://secure.gravatar.com/avatar/e0d46c630db21b5ccd3e63f230d0a18e274e6c9ca748949a137aeae73aaae436?
s=60&d=retro&r=g)

### 󠀁[Awesome debugging tool](https://wordpress.org/support/topic/great-debugging-tool-5/)󠁿

 [Kirk Beard](https://profiles.wordpress.org/kirkbeard/) 29 de mayo de 2023

Ray has been a great to use when working on Laravel sites, so I'm glad they've made
the effort to also support WordPress. It's definitely worth the money!

![](https://secure.gravatar.com/avatar/9c5813f24d1c3617dc92c4020fd4c55eba140ccc61cb68eed77b711819d048ee?
s=60&d=retro&r=g)

### 󠀁[Extremely helpful tool!](https://wordpress.org/support/topic/extremely-helpful-tool-3/)󠁿

 [John Hawkins](https://profiles.wordpress.org/vegasgeek/) 30 de marzo de 2023

I've been using Ray for quite a while now and I have to say, it's one of the most
useful dev tools I use! Gone are the days of spewing vardump and print_r to the 
screen!

![](https://secure.gravatar.com/avatar/0aaa2c3a0bd2915cbeddca59d0762691478a1d17e846124ae9ce2e3cf7577104?
s=60&d=retro&r=g)

### 󠀁[Great debugging tool](https://wordpress.org/support/topic/great-debugging-tool-4/)󠁿

 [stirrell42](https://profiles.wordpress.org/stirrell42/) 22 de octubre de 2021

Makes debugging a breeze without dumping out information to the screen. So simple
to setup that is is just as easy as doing a var_dump and has so many more features.

![](https://secure.gravatar.com/avatar/379fd411ee29c932b41ddc083c9bd39a0a616bdd64332b4b0f2701a2f243f289?
s=60&d=retro&r=g)

### 󠀁[Debugging your code made simple](https://wordpress.org/support/topic/debugging-your-code-made-simple/)󠁿

 [Dave Bolger](https://profiles.wordpress.org/daveapb/) 14 de enero de 2021

If you are constantly writing var_dump() or error_log() to debug your code you'll
know it gets painful when debugging larger and more complex code. Using Ray is the
simple way to debug without the hassle of reading through Log files or half rendered/
broken pages on the browser. A couple of hours of using Ray and you will have recouped
the cost in lost time.

![](https://secure.gravatar.com/avatar/0eb0c125a95bbb96a00c31b474c67d7761c87964bd9ba973bd3e4b896097bdb5?
s=60&d=retro&r=g)

### 󠀁[Where logging fails, Ray prevails](https://wordpress.org/support/topic/where-logging-fails-ray-prevails/)󠁿

 [sebkay](https://profiles.wordpress.org/sebkay/) 14 de enero de 2021

I was having trouble debugging an issue in my WP Cron task. It's quite complex and
calls out to an external database in multiple places, so trying to figure out where
the issue was started driving me insane. As there was a PHP error in my code (I 
was trying to call a method on null) my logger wasn't picking up any issues, nor
was it even logging sometimes and no exceptions were being thrown. After installing
Ray it worked right away with no setup (other than installing it with Composer).
I then managed to find the issue in about 5 minutes because of Ray's simplicity 
and speed in giving you the output. The UI is minimal which is perfect as nothing
gets in your way while trying to debug and having everything formatted beautifully
is a massive win over basic debug logging. I bought a licence right away and would
have happily paid 2x the price I did. Amazingly simple yet powerful 👌

 [ Leer todas las 10 reseñas ](https://wordpress.org/support/plugin/spatie-ray/reviews/)

## Colaboradores y desarrolladores

«Ray» es un software de código abierto. Las siguientes personas han colaborado con
este plugin.

Colaboradores

 *   [ freekmurze ](https://profiles.wordpress.org/freekmurze/)

«Ray» está traducido en 1 idioma. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/spatie-ray/contributors)
por sus contribuciones.

[Traduce «Ray» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/spatie-ray)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/spatie-ray/) , echa
un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/spatie-ray/) o
suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/spatie-ray/)
por [RSS](https://plugins.trac.wordpress.org/log/spatie-ray/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

You can find the changelog [at GitHub](https://github.com/spatie/wordpress-ray/blob/master/CHANGELOG.md).

## Meta

 *  Versión **1.7.10**
 *  Última actualización **hace 11 meses**
 *  Instalaciones activas **400+**
 *  Versión de WordPress ** 5.5 o superior **
 *  Probado hasta **6.8.12**
 *  Versión de PHP ** 8.0 o superior **
 *  Idiomas
 * [English (US)](https://wordpress.org/plugins/spatie-ray/) y [Swedish](https://sv.wordpress.org/plugins/spatie-ray/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/spatie-ray)
 * Etiquetas:
 * [debug](https://es.wordpress.org/plugins/tags/debug/)[debugging](https://es.wordpress.org/plugins/tags/debugging/)
   [developer](https://es.wordpress.org/plugins/tags/developer/)[development](https://es.wordpress.org/plugins/tags/development/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/spatie-ray/advanced/)

## Valoraciones

 5 de 5 estrellas.

 *  [  10 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/spatie-ray/reviews/?filter=5)
 *  [  0 valoraciones de 4 estrellas     ](https://wordpress.org/support/plugin/spatie-ray/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/spatie-ray/reviews/?filter=3)
 *  [  0 valoraciones de 2 estrellas     ](https://wordpress.org/support/plugin/spatie-ray/reviews/?filter=2)
 *  [  0 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/spatie-ray/reviews/?filter=1)

[Tu valoración](https://wordpress.org/support/plugin/spatie-ray/reviews/#new-post)

[Ver todas las reseñas](https://wordpress.org/support/plugin/spatie-ray/reviews/)

## Colaboradores

 *   [ freekmurze ](https://profiles.wordpress.org/freekmurze/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/spatie-ray/)

## Donar

¿Te gustaría apoyar el progreso de este plugin?

 [ Dona a este plugin ](https://github.com/sponsors/spatie)