PHP code example of logikool / laravel-email-logger
1. Go to this page and download the library: Download logikool/laravel-email-logger 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/ */
logikool / laravel-email-logger example snippets
Logikool\LaravelEmailLogger\LaravelEmailLoggerServiceProvider::class,
return [
'model' => \Logikool\LaravelEmailLogger\Models\EmailLog::class,
'listeners' => [
'MessageSending' => \Logikool\LaravelEmailLogger\Listeners\MessageSending::class,
'MessageSent' => \Logikool\LaravelEmailLogger\Listeners\MessageSent::class,
]
];
app.php
bash
php artisan vendor:publish --provider="Logikool\LaravelEmailLogger\LaravelEmailLoggerServiceProvider"
bash
php artisan migrate
email-logger.php