jmslbam/ray-php-errors

Pushes errors that normally would go into the 'debug.log' to Spatie's Ray debugger

Installs: 165

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jmslbam/ray-php-errors

v1.1.1 2025-06-20 22:29 UTC

This package is auto-updated.

Last update: 2025-10-20 23:13:15 UTC


README

Pushes errors that normally would go into the error.log or debug.log straight into Spatie's Ray debugger

Installation

composer require jmslbam/ray-php-errors

Activation

Add ( new JMSLBAM\RayPHPErrors\Ray() )->init( true ); somewhere in your PHP code.

Passing true to the init() also shows the error on you screen. For example, with WordPress I pass WP_DEBUG_DISPLAY as argument.