LaravelPackages.net
Acme Inc.
Toggle sidebar
homicity/laravel-mandrill

A laravel mail macro to use mandrill templates

2.952
2
101
About homicity/laravel-mandrill

homicity/laravel-mandrill is a Laravel package for a laravel mail macro to use mandrill templates. It currently has 2 GitHub stars and 2.952 downloads on Packagist (latest version 101). Install it with composer require homicity/laravel-mandrill. Discover more Laravel packages by homicity or browse all Laravel packages to compare alternatives.

Last updated

Installation

composer require homicity/laravel-mandrill

Then publish the config file

php artisan vendor:publish --provider="Homicity\MandrillMailable\Providers\MandrillMailableServiceProvider" --tag="config"

Config

Add into your .env file

MANDRILL_SECRET={your mandrill api key} MANDRILL_FROM_EMAIL={your from email address} MANDRILL_FROM_NAME={your from name}

Usage

Mail::mandrill() ->to('[email protected]') ->name('John Doe') ->templateName('template-name') ->fromEmail('[email protected]') ->fromName('Example Website') ->subject('Hello Mandrill') ->send();

Star History Chart