leondeng/laravel-batch-mailgun

Enable batch sending of Mailgun transport for Laravel
16,751 4
Install
composer require leondeng/laravel-batch-mailgun
Latest Version:v3.0.0
PHP:^7.2.5|^8.0
License:MIT
Last Updated:Apr 25, 2021
Links: GitHub  ·  Packagist
Maintainer: leondeng

Laravel Batch Sending Emails With Mailgun

Enable batch sending of Mailgun transport for Laravel

Background

Laravel supports Mailgun transport, however it does not support the batch sending feature. Developers had to use Mailgun SDK for this. With this package, developers will be able to keep using Mailable classes with Mailgun batch sending.

Usage

Require this package

composer require "leondeng/laravel-batch-mailgun"

Configuration

After adding the package, replace the official MailServiceProvider in the providers array in config/app.php

Illuminate\Mail\MailServiceProvider::class

with

LeonDeng\LaravelBatchMailgun\MailServiceProvider::class

Then add batch_sending flag in config/mail.php

'batch_sending' => env('MAIL_BATCH_SENDING', false),

Then set the env variable MAIL_BATCH_SENDING fro your environment.

License

This package is licensed under the MIT license.

Related Packages

tolotra/mailgun

A simple laravel 5 wrapper for Mailgun HTTP API

8 0
omnimail/omnimail

PHP Library to send email across all platforms using one interface.

36,872 331
elite50/e50-mail-laravel

Laravel email facade with support for multiple Mailgun domains.

526 0
ritey/mailgun

A laravel 5 wrapper for sending mail via the Mailgun API in Laravel style

25 1
daanra/mailgun

Laravel package for sending mail via the Mailgun API with support for Laravel 7

13,368 2

Version History

Version Released PHP License
v3.0.0 ^7.2.5|^8.0 MIT
v2.0.1 ^7.2.5|^8.0 MIT
v2.0.0 >=7.0 MIT
v1.1.0 >=7.0 MIT
v1.0.0 >=7.0 MIT