PHP code example of berndengels / laravel-email-exceptions
1. Go to this page and download the library: Download berndengels/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/ */
berndengels / laravel-email-exceptions example snippets
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Bengels\LaravelEmailExceptions\Exceptions\EmailHandler as ExceptionHandler;
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
}
}