PHPackages                             cuyz/global-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cuyz/global-ray

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

cuyz/global-ray
===============

Use Ray in any PHP script without requiring it in your projects.

0.1.0(5y ago)2859[2 issues](https://github.com/CuyZ/Global-Ray/issues)PHP

Since Apr 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/CuyZ/Global-Ray)[ Packagist](https://packagist.org/packages/cuyz/global-ray)[ RSS](/packages/cuyz-global-ray/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Global Ray
==========

[](#global-ray)

This package is abandonned — Spatie now provide their own implementation of that feature, see:

➡️ **[spatie/global-ray](https://github.com/spatie/global-ray)**

Thank you Spatie for hearing our p·**ray**·ers! 🤗

---

Show old informationUse [Ray](https://spatie.be/products/ray) in any PHP script without requiring it in your projects.

1. Require this package **globally** with Composer:

    `composer global require cuyz/global-ray`
2. Adapt this directive in your PHP configuration:

    ```
    # php.ini
    auto_prepend_file=${HOME}/.composer/vendor/cuyz/global-ray/prepend_ray.php

    ```
3. Use [Ray](https://spatie.be/products/ray) inside any PHP script:

    ```
    ray('Hello world!')->blue();
    ```

Build the project
-----------------

[](#build-the-project)

```
$ git clone https://github.com/CuyZ/Global-Ray
$ cd Global-Ray
$ composer install --no-dev
$ composer refresh
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1914d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a68d1d1332665e5173e7702415c77bcedf41521bbc540cad7429a1230c941e4?d=identicon)[Romm](/maintainers/Romm)

---

Top Contributors

[![romm](https://avatars.githubusercontent.com/u/6342901?v=4)](https://github.com/romm "romm (9 commits)")

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-ray

Easily debug Laravel apps

31841.3M3.5k](/packages/spatie-laravel-ray)[genxbe/kirby-ray

Helper tool that enables ray on all the extendable methods.

232.8k](/packages/genxbe-kirby-ray)

PHPackages © 2026

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