Skip to content

jmslbam/ray-php-errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray PHP error logger

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages