Pushes errors that normally would go into the error.log or debug.log straight into Spatie's Ray debugger
composer require jmslbam/ray-php-errors
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.