PHP code example of hugomyb / filament-error-mailer

1. Go to this page and download the library: Download hugomyb/filament-error-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/ */

    

hugomyb / filament-error-mailer example snippets


return [
    'email' => [
        'recipient' => ['[email protected]'],
        'bcc' => [],
        'cc' => [],
        'subject' => 'An error was occured - ' . env('APP_NAME'),
    ],

    'disabledOn' => [
        //
    ],

    'cacheCooldown' => 10, // in minutes
];

'disabledOn' => [
    'local',
],

...
->plugins([
    FilamentErrorMailerPlugin::make()
])
bash
php artisan vendor:publish --tag="error-mailer-config"
bash
php artisan vendor:publish --tag="error-mailer-views"