PHP code example of nikolaymurha / laravel-email-exceptions
1. Go to this page and download the library: Download nikolaymurha/laravel-email-exceptions library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nikolaymurha / laravel-email-exceptions example snippets
class Handler extends ExceptionHandler
{
protected function appSpecificDontEmail(Exception $exception)
{
// add logic here to determine if exception should be emailed return true
// if it should and return false if it should not
}
}