Download the PHP package slgo99/laravel-error-report without Composer
On this page you can find all versions of the php package slgo99/laravel-error-report. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download slgo99/laravel-error-report
More information about slgo99/laravel-error-report
Files in slgo99/laravel-error-report
Package laravel-error-report
Short Description Get to know what's happening in your production environment!
License MIT
Informations about the package laravel-error-report
Laravel Error Report
Get to know what's happening in your production environment!
[!WARNING] For the package to work you need to have a mail configuration set up in your Laravel application.
What It Does
This package allows you to get e-mail notifications when an error occurs in your production environment.
Installation
You can install the package via composer:
As Laravel uses Package auto-discovery, you don't need to manually add the service provider. If you don't use auto-discovery, you can add the service provider to the providers list in bootstrap/providers.php
:
In older versions of Laravel, you can add the service provider to the providers list in config/app.php
:
Optionally, you can publish the configuration file with:
After publishing the configuration file, you can find it in config/error_report.php
.
Usage
To enable the e-mail notifications, you need to set the following environment variables in your .env
file:
\
\
Enable the error report:
\ Set the e-mail where you want to receive the error reports:
[!NOTE] Note that you can set multiple e-mails separated by commas.
\ \ That's it! Now you will receive an e-mail notification whenever an error occurs in your production environment.