PHP code example of lithiumdev / laravel-exception-mailer
1. Go to this page and download the library: Download lithiumdev/laravel-exception-mailer 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/ */
lithiumdev / laravel-exception-mailer example snippets
return [
'subject' => 'Laravel Exception',
'notify_emails' => [
[
'address' => '[email protected]',
'name' => 'Your Name Here',
],
],
'email_template' => "laravel-exception-mailer::email.exception",
'notify_environment' => ['local'],
'prevent_exception' => ['Symfony\Component\HttpKernel\Exception\NotFoundHttpException'],
];