intonate/laravel-mandrill-driver 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

intonate/laravel-mandrill-driver

最新稳定版本:v4.0

Composer 安装命令:

composer require intonate/laravel-mandrill-driver

包简介

Laravel Mandrill API based mail driver.

README 文档

README

Logo Laravel Mandrill Driver

PHPUnit StyleCI Total Downloads Latest Stable Version License

The missing Mandrill API based mail driver for Laravel

Note

This is a community project and not an official Laravel package

Versions

Laravel Install
11.x ^4.0
10.x ^3.1
9.x ^3.0
8.x ^2.0
7.x ^1.2
6.x ^1.0

Installation Guide for Laravel 8, 9, 10 & 11

  1. Install the Package via Composer

Run the following command in your terminal to install the package using Composer:

composer require intonate/laravel-mandrill-driver
  1. Configure Environment Variables

Update your .env file with the following environment variables:

MAIL_MAILER=mandrill
MANDRILL_SECRET=YourMandrillAPIKey
  1. Update Service Configuration

Open your config/services.php file and add the Mandrill configuration to it:

'mandrill' => [
    'secret' => env('MANDRILL_SECRET'),
],
  1. Configure Mail Driver

In your config/mail.php file, add the Mandrill mailer configuration to the "mailers" array:

'mailers' => [
    //...

    'mandrill' => [
        'transport' => 'mandrill',
    ],
],

Installation Guide for Laravel 6 & 7

Follow these steps to configure the Mandrill mail driver for Laravel 6 and 7:

  1. Configure Environment Variables

Update your .env file with the following environment variables:

MAIL_DRIVER=mandrill
MANDRILL_SECRET=YourMandrillAPIKey
  1. Update Service Configuration

Open the config/services.php file and insert the Mandrill configuration:

'mandrill' => [
    'secret' => env('MANDRILL_SECRET'),
],

Credits

License

This is an open-sourced software licensed under the MIT license.

统计信息

  • 总下载量: 1.06M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 18
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 17
  • Watchers: 1
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-18