PHPackages                             spatie/laravel-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/laravel-ray

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

spatie/laravel-ray
==================

Easily debug Laravel apps

1.43.9(3mo ago)31842.2M↓20%7120MITPHPPHP ^7.4|^8.0CI passing

Since Jan 7Pushed 1mo ago17 watchersCompare

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

READMEChangelog (10)Dependencies (57)Versions (123)Used By (20)

spatie/laravel-ray - Send debug output from Laravel to Ray
==========================================================

[](#spatielaravel-ray---send-debug-output-from-laravel-to-ray)

[![Latest Version on Packagist](https://camo.githubusercontent.com/283e1c102ad46f1784a11439349158dfdbbdde4933dfef7c1a9fdbbb77165878/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f6c61726176656c2d7261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-ray)[![Tests](https://github.com/spatie/laravel-ray/workflows/Tests/badge.svg)](https://github.com/spatie/laravel-ray/workflows/Tests/badge.svg)[![PHPStan](https://github.com/spatie/laravel-ray/actions/workflows/phpstan.yml/badge.svg)](https://github.com/spatie/laravel-ray/actions/workflows/phpstan.yml)[![Total Downloads](https://camo.githubusercontent.com/48d7ad93e5af25b5667f85d6f90bfe295d2ca05c555c5cb851fc192a301cde59/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f6c61726176656c2d7261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-ray)

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

[![](https://camo.githubusercontent.com/f56220b5d3919b65845c49c85be52c0120f1e567868effbc88c15340ee69cb21/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d7261792e6a70673f743d31373639363130303834)](https://spatie.be/github-ad-click/laravel-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](https://spatie.be/products/ray) to unlock the app and get full access.

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

[](#documentation)

You can find the full documentation for using Ray with Laravel on [https://myray.app/docs/php/laravel](https://myray.app/docs/php/laravel/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

Maintenance85

Actively maintained with recent releases

Popularity70

Solid adoption and visibility

Community60

Healthy contributor diversity

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 63% 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 ~16 days

Recently: every ~22 days

Total

117

Last Release

113d ago

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

1.9.2PHP ^7.3|^8.0

1.38.0PHP ^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 (529 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (53 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (41 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (29 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (24 commits)")[![patrickomeara](https://avatars.githubusercontent.com/u/571773?v=4)](https://github.com/patrickomeara "patrickomeara (23 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (21 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (12 commits)")[![abenerd](https://avatars.githubusercontent.com/u/7523903?v=4)](https://github.com/abenerd "abenerd (11 commits)")[![squatto](https://avatars.githubusercontent.com/u/748444?v=4)](https://github.com/squatto "squatto (10 commits)")[![rubenvanassche](https://avatars.githubusercontent.com/u/619804?v=4)](https://github.com/rubenvanassche "rubenvanassche (9 commits)")[![lukeraymonddowning](https://avatars.githubusercontent.com/u/12202279?v=4)](https://github.com/lukeraymonddowning "lukeraymonddowning (9 commits)")[![timvandijck](https://avatars.githubusercontent.com/u/4528796?v=4)](https://github.com/timvandijck "timvandijck (8 commits)")[![sweptsquash](https://avatars.githubusercontent.com/u/9886472?v=4)](https://github.com/sweptsquash "sweptsquash (6 commits)")[![TiiFuchs](https://avatars.githubusercontent.com/u/1958744?v=4)](https://github.com/TiiFuchs "TiiFuchs (5 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (5 commits)")[![fabio-ivona](https://avatars.githubusercontent.com/u/8792274?v=4)](https://github.com/fabio-ivona "fabio-ivona (5 commits)")[![AyoobMH](https://avatars.githubusercontent.com/u/37803924?v=4)](https://github.com/AyoobMH "AyoobMH (5 commits)")[![masterix21](https://avatars.githubusercontent.com/u/6555012?v=4)](https://github.com/masterix21 "masterix21 (5 commits)")[![webpresencekyle](https://avatars.githubusercontent.com/u/98591473?v=4)](https://github.com/webpresencekyle "webpresencekyle (4 commits)")

---

Tags

debuglaravelphpspatielaravel-ray

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k57.2M683](/packages/laravel-scout)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k99.8M355](/packages/laravel-horizon)[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M327](/packages/laravel-ai)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)[api-platform/laravel

API Platform support for Laravel

58190.1k21](/packages/api-platform-laravel)

PHPackages © 2026

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