项目作者: intonate

项目描述 :
Mandrill mail driver for Laravel
高级语言: PHP
项目地址: git://github.com/intonate/laravel-mandrill-driver.git
创建时间: 2019-09-18T02:59:18Z
项目社区:https://github.com/intonate/laravel-mandrill-driver

开源协议:MIT License

下载


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:

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

Update your .env file with the following environment variables:

  1. MAIL_MAILER=mandrill
  2. MANDRILL_SECRET=YourMandrillAPIKey
  1. Update Service Configuration

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

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

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

  1. 'mailers' => [
  2. //...
  3. 'mandrill' => [
  4. 'transport' => 'mandrill',
  5. ],
  6. ],

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:

  1. MAIL_DRIVER=mandrill
  2. MANDRILL_SECRET=YourMandrillAPIKey
  1. Update Service Configuration

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

  1. 'mandrill' => [
  2. 'secret' => env('MANDRILL_SECRET'),
  3. ],

Credits

License

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