定制 leondeng/laravel-batch-mailgun 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

leondeng/laravel-batch-mailgun

最新稳定版本:v3.0.0

Composer 安装命令:

composer create-project leondeng/laravel-batch-mailgun

包简介

Enable batch sending of Mailgun transport for Laravel

README 文档

README

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.

统计信息

  • 总下载量: 15.56k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-16