PHPackages                             afsdev/laravel-ray-log-channel - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. afsdev/laravel-ray-log-channel

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

afsdev/laravel-ray-log-channel
==============================

Log messages using Spatie Ray

v1.0.1(3y ago)1661MITPHP

Since Mar 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/arne-s/laravel-ray-log-channel)[ Packagist](https://packagist.org/packages/afsdev/laravel-ray-log-channel)[ Docs](https://github.com/arne-s/laravel-ray-log-channel)[ RSS](/packages/afsdev-laravel-ray-log-channel/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Laravel Ray Logging
===================

[](#laravel-ray-logging)

A log channel that sends all laravel logging through [Ray](https://spatie.be/products/ray).

Using Ray to monitor log messages makes debugging during development easier more convenient to tailing the laravel log, but it can also be useful when monitoring production applications through SSH.

Features
--------

[](#features)

- Allows dumping complex data structures (models, large arrays, etc) that don't translate well to text only log files
- Each level can be assigned to a different color, which also allows it to be filtered
- The filename and line number of the log message is included in each log, so one click brings your editor to the exact place the log message was called
- Minimum log level and colors are configurable

[![Examples](.github/demo.png)](.github/demo.png)

Install
-------

[](#install)

You can install this package via composer using this commands:

```
composer require afsdev/laravel-ray-log-channel
```

Configuration
-------------

[](#configuration)

Add the channel to config/logging.php

```
'channels' => [
  ...
  'ray' => [
    'driver' => 'ray',
    'level' => 'debug',
  ]
]

```

Use the log channel in .env :

```
LOG_CHANNEL=ray

```

Optionally, you can customize the used colors for each level:

```
'ray' => [
  'driver' => 'ray',
  'level' => 'debug',
  'colors' => [
      'blue' => ['DEBUG', 'INFO'],
      'green' => ['NOTICE'],
      'yellow' => ['WARNING'],
      'red' => ['ERROR', 'CRITICAL', 'ALERT', 'EMERGENCY', 'API'],
  ]
]

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Every ~0 days

Total

2

Last Release

1146d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/80cb74942875e33af8042fb5d811b9ed94e2beddf50de3beffc7da8419c3dd11?d=identicon)[arne82](/maintainers/arne82)

---

Top Contributors

[![arne-s](https://avatars.githubusercontent.com/u/1073568?v=4)](https://github.com/arne-s "arne-s (3 commits)")

---

Tags

spatieraylaravelloggingdebug

### Embed Badge

![Health badge](/badges/afsdev-laravel-ray-log-channel/health.svg)

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)[noxoua/filament-activity-log

A Laravel package that simplifies activity logging in the Filament admin panel, with support for logging create, update, delete, and restore actions. It integrates with the 'spatie/laravel-activitylog' package and includes a modernized activity log viewing page.

7151.5k](/packages/noxoua-filament-activity-log)

PHPackages © 2026

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