PHP code example of cleaniquecoders / mailhistory
1. Go to this page and download the library: Download cleaniquecoders/mailhistory 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/ */
cleaniquecoders / mailhistory example snippets
use CleaniqueCoders\MailHistory\Concerns\InteractsWithMailMetadata;
class WelcomeMail extends Mailable
{
use InteractsWithMailMetadata;
public function __construct()
{
$this->configureMetadataHash();
}
}
bash
composer vendor:publish --tag="mailhistory-migrations"
php artisan migrate