Giter Site home page Giter Site logo

intonate / laravel-mandrill-driver Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 8.0 52 KB

Mandrill API based mail driver for Laravel

Home Page: https://packagist.org/packages/intonate/laravel-mandrill-driver

License: MIT License

PHP 100.00%
laravel mandrill mail mailchimp laravel-packages laravel-10 laravel10 laravel9 laravel-package laravel-11 mailer mailing mandrill-api mandrill-api-wrapper mandrill-email

laravel-mandrill-driver's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.