PHPackages                             ahmedwaleed/mailmerge - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. ahmedwaleed/mailmerge

AbandonedArchivedLibrary[Mail &amp; Notifications](/categories/mail)

ahmedwaleed/mailmerge
=====================

This library provides handful of api's to send all sorts of email using different mail services

1.0.4(6y ago)36118PHPPHP ^7.4

Since Dec 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/AhmadWaleed/mailmerge)[ Packagist](https://packagist.org/packages/ahmedwaleed/mailmerge)[ RSS](/packages/ahmedwaleed-mailmerge/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (11)Versions (6)Used By (0)

Introduction
------------

[](#introduction)

MailMerge is meant to provide a handful of APIs to send all sorts of emails including (batch mails, single mail) using different mail service providers such as mailgun, pepipost, and sendgrid. It also defines the strategy for resending the failed emails using different mail services.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.4
- Laravel &gt;= 6.0
- Redis

MailMerge uses redis for saving events and logs so you must have redis install on your host.

Installation
------------

[](#installation)

```
composer require ahmedwaleed/mailmerge
```

MailMerge will automatically register itself using [package discovery](https://laravel.com/docs/packages#package-discovery).

Once Composer is done, run the following command, it will migrate mailmerge migrations:

```
php artisan mailmerge:migrate
```

Configuring the package
-----------------------

[](#configuring-the-package)

You can publish the config file with:

```
php artisan vendor:publish --tag="mailmerge-config"
```

This is the contents of the file that will be published at `config/mailmerge.php`:

```
