1. Go to this page and download the library: Download mrclln/mass-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/ */
mrclln / mass-mailer example snippets
// app/Models/User.php
use Mrclln\MassMailer\Traits\MassMailerUserTrait;
class User extends Authenticatable
{
use MassMailerUserTrait;
// Your existing User code...
}
// app/Models/User.php
use Mrclln\MassMailer\Models\MassMailerSender;
class User extends Authenticatable
{
// ... other code
public function massMailerSenders()
{
return $this->hasMany(MassMailerSender::class);
}
}