{"id":134698,"date":"2021-01-13T11:13:06","date_gmt":"2021-01-13T11:13:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/spatie-ray\/"},"modified":"2025-12-10T09:18:10","modified_gmt":"2025-12-10T09:18:10","slug":"spatie-ray","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/spatie-ray\/","author":18490420,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7.10","stable_tag":"1.7.10","tested":"6.8.5","requires":"5.5","requires_php":"8.0","requires_plugins":null,"header_name":"Spatie Ray","header_author":"Spatie","header_description":"Easily debug WordPress apps","assets_banners_color":"ffffff","last_updated":"2025-12-10 09:18:10","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/sponsors\/spatie","header_plugin_uri":"https:\/\/github.com\/spatie\/wordpress-ray","header_author_uri":"https:\/\/spatie.be","rating":5,"author_block_rating":0,"active_installs":500,"downloads":35720,"num_ratings":10,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"0.0.8":{"tag":"0.0.8","author":"freekmurze","date":"2021-01-13 11:12:43"},"0.10.0":{"tag":"0.10.0","author":"freekmurze","date":"2021-01-13 11:48:19"},"0.11.0":{"tag":"0.11.0","author":"freekmurze","date":"2021-01-13 11:52:33"},"0.13.0":{"tag":"0.13.0","author":"freekmurze","date":"2021-01-13 12:13:19"},"1.0.0":{"tag":"1.0.0","author":"freekmurze","date":"2021-01-13 15:07:24"},"1.0.1":{"tag":"1.0.1","author":"freekmurze","date":"2021-01-13 17:08:18"},"1.0.2":{"tag":"1.0.2","author":"freekmurze","date":"2021-01-13 19:12:28"},"1.0.3":{"tag":"1.0.3","author":"freekmurze","date":"2021-01-14 14:46:48"},"1.1.0":{"tag":"1.1.0","author":"freekmurze","date":"2021-01-14 23:37:16"},"1.1.1":{"tag":"1.1.1","author":"freekmurze","date":"2021-01-17 12:09:42"},"1.2.0":{"tag":"1.2.0","author":"freekmurze","date":"2021-01-19 19:53:51"},"1.2.1":{"tag":"1.2.1","author":"freekmurze","date":"2021-01-20 11:42:22"},"1.2.2":{"tag":"1.2.2","author":"freekmurze","date":"2021-01-27 09:15:14"},"1.2.3":{"tag":"1.2.3","author":"freekmurze","date":"2021-02-05 07:43:09"},"1.2.4":{"tag":"1.2.4","author":"freekmurze","date":"2021-03-04 07:39:31"},"1.3.0":{"tag":"1.3.0","author":"freekmurze","date":"2021-03-26 12:58:40"},"1.3.2":{"tag":"1.3.2","author":"freekmurze","date":"2021-05-25 09:34:50"},"1.3.3":{"tag":"1.3.3","author":"freekmurze","date":"2021-05-28 11:18:32"},"1.4.0":{"tag":"1.4.0","author":"freekmurze","date":"2021-08-05 20:39:32"},"1.5.0":{"tag":"1.5.0","author":"freekmurze","date":"2021-09-10 07:27:36"},"1.5.1":{"tag":"1.5.1","author":"freekmurze","date":"2021-09-10 16:30:36"},"1.5.2":{"tag":"1.5.2","author":"freekmurze","date":"2022-02-17 22:55:49"},"1.5.3":{"tag":"1.5.3","author":"freekmurze","date":"2022-02-18 13:11:19"},"1.5.4":{"tag":"1.5.4","author":"freekmurze","date":"2022-10-10 09:33:08"},"1.5.5":{"tag":"1.5.5","author":"freekmurze","date":"2022-12-07 13:10:51"},"1.5.6":{"tag":"1.5.6","author":"freekmurze","date":"2022-12-07 21:05:27"},"1.6.0":{"tag":"1.6.0","author":"freekmurze","date":"2022-12-26 08:31:37"},"1.7.0":{"tag":"1.7.0","author":"freekmurze","date":"2022-12-29 11:28:15"},"1.7.1":{"tag":"1.7.1","author":"freekmurze","date":"2022-12-29 13:01:22"},"1.7.10":{"tag":"1.7.10","author":"freekmurze","date":"2025-12-10 09:18:10"},"1.7.11":{"tag":"1.7.11","author":"freekmurze","date":"2026-03-17 11:48:56"},"1.7.2":{"tag":"1.7.2","author":"freekmurze","date":"2022-12-29 14:46:39"},"1.7.3":{"tag":"1.7.3","author":"freekmurze","date":"2022-12-29 14:59:09"},"1.7.4":{"tag":"1.7.4","author":"freekmurze","date":"2023-01-09 08:55:36"},"1.7.5":{"tag":"1.7.5","author":"freekmurze","date":"2023-03-21 08:52:40"},"1.7.6":{"tag":"1.7.6","author":"freekmurze","date":"2024-06-17 07:43:23"},"1.7.9":{"tag":"1.7.9","author":"freekmurze","date":"2025-01-27 09:16:50"}},"upgrade_notice":{"":"<p>You can find the changelog <a href=\"https:\/\/github.com\/spatie\/wordpress-ray\/blob\/master\/CHANGELOG.md\">at GitHub<\/a>.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":10},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":2796507,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2455717,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2455717,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.8","0.10.0","0.11.0","0.13.0","1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.3.0","1.3.2","1.3.3","1.4.0","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.6.0","1.7.0","1.7.1","1.7.10","1.7.11","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.9"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Here's how the Ray desktop app looks like."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[94,2679,2275,734],"plugin_category":[59],"plugin_contributors":[195061],"plugin_business_model":[],"class_list":["post-134698","plugin","type-plugin","status-publish","hentry","plugin_tags-debug","plugin_tags-debugging","plugin_tags-developer","plugin_tags-development","plugin_category-utilities-and-tools","plugin_contributors-freekmurze","plugin_committers-freekmurze"],"banners":{"banner":"https:\/\/ps.w.org\/spatie-ray\/assets\/banner-772x250.png?rev=2455717","banner_2x":"https:\/\/ps.w.org\/spatie-ray\/assets\/banner-1544x500.png?rev=2455717","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/spatie-ray\/assets\/icon.svg?rev=2796507","icon":"https:\/\/ps.w.org\/spatie-ray\/assets\/icon.svg?rev=2796507","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><a href=\"https:\/\/myray.app\">Ray<\/a> is a beautiful, lightweight desktop app that helps you debug your app. There's a <a href=\"https:\/\/myray.app\">free demo<\/a> available that can be unlocked with a <a href=\"https:\/\/spatie.be\/products\/ray\">license<\/a>.<\/p>\n\n<p>After installing this plugin, you can use the <code>ray()<\/code> function to quickly dump stuff. Any variable(s) that you pass to <code>ray()<\/code> will be displayed.<\/p>\n\n<p>Here some examples:<\/p>\n\n<pre><code>ray('Hello world');\n\nray(['a' =&gt; 1, 'b' =&gt; 2])-&gt;color('red');\n\nray('multiple', 'arguments', 'are', 'welcome');\n\nray()-&gt;showQueries();\n<\/code><\/pre>\n\n<p>There are many other helper functions available on Ray that allow you to display things that can help you debug such as <a href=\"https:\/\/spatie.be\/docs\/ray\/v1\/usage\/framework-agnostic-php-project#measuring-performance-and-memory-usage\">runtime and memory usage<\/a>, <a href=\"https:\/\/spatie.be\/docs\/ray\/v1\/usage\/wordpress#showing-queries\">queries that were executed<\/a>, and much more.<\/p>\n\n<h3>Full Documentation<\/h3>\n\n<p>The extensive documentation can be found <a href=\"https:\/\/spatie.be\/docs\/ray\">here<\/a>.<\/p>\n\n<p>It contains the <a href=\"https:\/\/spatie.be\/docs\/ray\/v1\/installation-in-your-project\/wordpress\">installation instructions<\/a> for WordPress.<\/p>\n\n<p>After it is installed you can use any of the <a href=\"https:\/\/spatie.be\/docs\/ray\/v1\/usage\/framework-agnostic-php-project\">framework agnostic<\/a> and <a href=\"https:\/\/spatie.be\/docs\/ray\/v1\/usage\/wordpress\">WordPress specific functions<\/a>.<\/p>\n\n<!--section=faq-->\n<p>Want to know how to get started? Head over to <a href=\"https:\/\/spatie.be\/docs\/ray\">our extensive docs<\/a>.<\/p>\n\n<p>Want to report a bug? Create an issue at the <a href=\"https:\/\/github.com\/spatie\/wordpress-ray\">spatie\/wordpress-ray<\/a> repo.<\/p>\n\n<!--section=changelog-->\n<p>You can find the changelog <a href=\"https:\/\/github.com\/spatie\/wordpress-ray\/blob\/master\/CHANGELOG.md\">at GitHub<\/a>.<\/p>","raw_excerpt":"Easily debug WordPress sites using Ray.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/134698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=134698"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/freekmurze"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=134698"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=134698"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=134698"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=134698"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=134698"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=134698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}