alverated/laravel-error-mailer
Larablocks Analysis
alverated/laravel-error-mailer works with any PHP project: the latest release (v1.1.0, Jul 29, 2020) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Jul 29, 2020)
- 0 downloads a month (needs 10,000)
- 4 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Jul 29, 2020.
- No releases in the last 12 months.
- First released: Jul 11, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.
| Install | |
|---|---|
composer require alverated/laravel-error-mailer |
|
| Latest Version: | v1.1.0 |
| PHP: | >=5.4.0 |
| License: | MIT |
| Last Updated: | Jul 29, 2020 |
| Links: | GitHub · Packagist |
Laravel-Error-Mailer
Error Mailer for Laravel 5.2
Installation
Laravel Error Mailer can be installed via Composer by requiring the alverated/laravel-error-mailer package in your project's composer.json.
{
"require": {
"alverated/laravel-error-mailer": "dev-master"
}
}
Register the service provider with the application. Open up config/app.php and find the providers key.
'providers' => [
// ...
Alverated\LaravelErrorMailer\ErrorMailerServiceProvider::class,
],
Publish the configurations Run this on the command line from the root of your project.
$ php artisan vendor:publish
A configuration and blade file will be publish to config/laravel-error-mailer.php and views/vendor/mailer.blade.php.
Update your settings in the generated configuration file.
##Usage
Open app/Exceptions/Handler.php and import Alverated\LaravelErrorMailer\ErrorMailer
//...
use Alverated\LaravelErrorMailer\ErrorMailer;
and add these two lines of codes to public function report(Exception $e) below parent::report($e);
public function report(Exception $e)
{
parent::report($e);
// add this code
if ($this->shouldReport($e)) {
$err = new ErrorMailer($e);
$err->sendError();
}
}
###Note Add this to your composer.json if you're using any of these drivers
{
"require": {
"guzzlehttp/guzzle": "~5.3|~6.0",
"aws/aws-sdk-php": "~3.0"
}
}
Related Packages
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v1.1.0 | >=5.4.0 | MIT | |
| v1.0.0 | >=5.4.0 | MIT |

