PHP code example of fahedaljghine / laravel-exception-mail
1. Go to this page and download the library: Download fahedaljghine/laravel-exception-mail 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/ */
fahedaljghine / laravel-exception-mail example snippets
return [
/*
* enable or disable the package
*/
'enabled' => true,
/*
* Add email addresses you want them to receive the exception
*/
'addresses' => [
//'[email protected]',
//'[email protected]',
],
];
bash
php artisan vendor:publish --provider="Fahedaljghine\ExceptionMail\ExceptionMailServiceProvider" --tag="config"
bash
php artisan vendor:publish --provider="Fahedaljghine\ExceptionMail\ExceptionMailServiceProvider" --tag="blade"