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
Requires (Dev)
- laravel/pint: ^1.21
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.