PHPackages                             spatie/ray - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. spatie/ray

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

spatie/ray
==========

Debug with Ray to fix problems faster

1.48.0(4mo ago)62446.7M↓25.4%10820MITPHPPHP ^7.4|^8.0CI passing

Since Jan 7Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/spatie/ray)[ Packagist](https://packagist.org/packages/spatie/ray)[ Docs](https://github.com/spatie/ray)[ GitHub Sponsors](https://github.com/sponsors/spatie)[ Fund](https://spatie.be/open-source/support-us)[ RSS](/packages/spatie-ray/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)Dependencies (26)Versions (129)Used By (20)

spatie/ray - Send debug output from PHP to Ray
==============================================

[](#spatieray---send-debug-output-from-php-to-ray)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f5682d2059d173daf97cab6fd9bfa1952e1b1f8c73144c3183a176e5eb6791b6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f7261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/ray)[![Tests](https://github.com/spatie/ray/workflows/Tests/badge.svg)](https://github.com/spatie/ray/workflows/Tests/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/48d7ad93e5af25b5667f85d6f90bfe295d2ca05c555c5cb851fc192a301cde59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f6c61726176656c2d7261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/ray)

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

[![](https://camo.githubusercontent.com/df4557e996b7a43450d22ac35bb187a8e1239540b54dda4d8393bf2eb6638b51/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f7261792e6a70673f743d31373639363130303834)](https://spatie.be/github-ad-click/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 and send up to 20 messages each session. Enjoying Ray? Buy a license to unlock the app and get full access.

Documentation
-------------

[](#documentation)

You can find the full documentation for using Ray with PHP on [https://myray.app/docs/php](https://myray.app/docs/php/vanilla-php/installation).

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

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

License
-------

[](#license)

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

###  Health Score

74

—

ExcellentBetter than 100% of packages

Maintenance83

Actively maintained with recent releases

Popularity73

Solid adoption and visibility

Community54

Growing community involvement

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 65.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~15 days

Recently: every ~32 days

Total

124

Last Release

139d ago

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

1.17.1PHP ^7.3|^8.0

1.41.3PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7535935?v=4)[Spatie](/maintainers/spatie)[@spatie](https://github.com/spatie)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (772 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (116 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (58 commits)")[![timvandijck](https://avatars.githubusercontent.com/u/4528796?v=4)](https://github.com/timvandijck "timvandijck (49 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (23 commits)")[![AyoobMH](https://avatars.githubusercontent.com/u/37803924?v=4)](https://github.com/AyoobMH "AyoobMH (19 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (18 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (14 commits)")[![sweptsquash](https://avatars.githubusercontent.com/u/9886472?v=4)](https://github.com/sweptsquash "sweptsquash (13 commits)")[![rubenvanassche](https://avatars.githubusercontent.com/u/619804?v=4)](https://github.com/rubenvanassche "rubenvanassche (13 commits)")[![willemvb](https://avatars.githubusercontent.com/u/1336390?v=4)](https://github.com/willemvb "willemvb (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (10 commits)")[![abenerd](https://avatars.githubusercontent.com/u/7523903?v=4)](https://github.com/abenerd "abenerd (9 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (7 commits)")[![ricklambrechts](https://avatars.githubusercontent.com/u/1367665?v=4)](https://github.com/ricklambrechts "ricklambrechts (7 commits)")[![squatto](https://avatars.githubusercontent.com/u/748444?v=4)](https://github.com/squatto "squatto (6 commits)")[![octoper](https://avatars.githubusercontent.com/u/6823226?v=4)](https://github.com/octoper "octoper (5 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (5 commits)")[![WouterBrouwers](https://avatars.githubusercontent.com/u/40539118?v=4)](https://github.com/WouterBrouwers "WouterBrouwers (4 commits)")[![GromNaN](https://avatars.githubusercontent.com/u/400034?v=4)](https://github.com/GromNaN "GromNaN (4 commits)")

---

Tags

debugdumplaravelphpspatieray

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/spatie-ray/health.svg)

```
[![Health](https://phpackages.com/badges/spatie-ray/health.svg)](https://phpackages.com/packages/spatie-ray)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.9k556.2M21.5k](/packages/laravel-framework)[spatie/flare-client-php

Send PHP errors to Flare

178166.2M24](/packages/spatie-flare-client-php)[spatie/laravel-ray

Easily debug Laravel apps

31842.2M3.8k](/packages/spatie-laravel-ray)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M672](/packages/shopware-core)[laradumps/laradumps-core

LaraDumps is a friendly app designed to boost your Laravel / PHP coding and debugging experience.

261.6M14](/packages/laradumps-laradumps-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
