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

ActiveYii2-extension[Debugging &amp; Profiling](/categories/debugging)

spatie/yii-ray
==============

Easily debug Yii apps

1.3.0(4mo ago)245.2k—8.5%31MITPHPPHP ^7.3|^8.0CI passing

Since Jan 14Pushed 4mo ago3 watchersCompare

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

READMEChangelog (10)Dependencies (7)Versions (17)Used By (1)

spatie/yii-ray - Send debug output from Yii2 to Ray
===================================================

[](#spatieyii-ray---send-debug-output-from-yii2-to-ray)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9514df28a3677db9db327dd555fcb6c69d9b41b992e6f5e19c7ec9eefaaf3b81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f7969692d7261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/yii-ray)[![Tests](https://github.com/spatie/yii-ray/workflows/Tests/badge.svg)](https://github.com/spatie/yii-ray/workflows/Tests/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/07286735d7e9d551f830a7540d5cc8ebd969f3ecca400c83de71dea86d37d2e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f7969692d7261792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/yii-ray)

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

[![](https://camo.githubusercontent.com/77c7d7b53410f9197e61afeb31d36bffd60bb9e7eae15a32e9cd71fedaa8fa9c/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f7969692d7261792e6a70673f743d31373639363130303835)](https://spatie.be/github-ad-click/yii-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
-------------

[](#documentation)

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

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)

- [Rias Van der Veken](https://github.com/riasvdv)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance74

Regular maintenance activity

Popularity34

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 56% 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 ~132 days

Recently: every ~457 days

Total

15

Last Release

145d ago

Major Versions

0.0.4 → 1.0.02021-01-14

PHP version history (2 changes)0.0.1PHP ^7.4|^8.0

1.2.0PHP ^7.3|^8.0

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/dbd355ba9a931da845b0c4ff59a974dab98f829d567bb8c5ff435c823dfa255e?d=identicon)[riasvdv](/maintainers/riasvdv)

---

Top Contributors

[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (28 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (12 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (4 commits)")[![thecaliskan](https://avatars.githubusercontent.com/u/13554944?v=4)](https://github.com/thecaliskan "thecaliskan (2 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (2 commits)")[![jimirobaer](https://avatars.githubusercontent.com/u/8984769?v=4)](https://github.com/jimirobaer "jimirobaer (1 commits)")[![yuniorsk](https://avatars.githubusercontent.com/u/1545539?v=4)](https://github.com/yuniorsk "yuniorsk (1 commits)")

---

Tags

debuggingphpyiiyii2-frameworkspatieyii-ray

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-ray

Easily debug Laravel apps

31841.3M3.6k](/packages/spatie-laravel-ray)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.3k](/packages/friendsofphp-php-cs-fixer)[spatie/ray

Debug with Ray to fix problems faster

62545.7M923](/packages/spatie-ray)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/flare-client-php

Send PHP errors to Flare

177161.5M23](/packages/spatie-flare-client-php)[spatie/backtrace

A better backtrace

439184.2M66](/packages/spatie-backtrace)

PHPackages © 2026

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