Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intonate/laravel-mandrill-driver
Mandrill API based mail driver for Laravel
https://github.com/intonate/laravel-mandrill-driver
laravel laravel-10 laravel-11 laravel-package laravel-packages laravel10 laravel9 mail mailchimp mailer mailing mandrill mandrill-api mandrill-api-wrapper mandrill-email
Last synced: 2 months ago
JSON representation
Mandrill API based mail driver for Laravel
- Host: GitHub
- URL: https://github.com/intonate/laravel-mandrill-driver
- Owner: intonate
- License: mit
- Created: 2019-09-18T02:59:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T03:52:36.000Z (8 months ago)
- Last Synced: 2024-04-25T04:37:08.270Z (8 months ago)
- Topics: laravel, laravel-10, laravel-11, laravel-package, laravel-packages, laravel10, laravel9, mail, mailchimp, mailer, mailing, mandrill, mandrill-api, mandrill-api-wrapper, mandrill-email
- Language: PHP
- Homepage:
- Size: 23.4 KB
- Stars: 16
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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:
```sh
composer require intonate/laravel-mandrill-driver
```2. Configure Environment Variables
Update your `.env` file with the following environment variables:
```dotenv
MAIL_MAILER=mandrill
MANDRILL_SECRET=YourMandrillAPIKey
```3. Update Service Configuration
Open your `config/services.php` file and add the Mandrill configuration to it:
```php
'mandrill' => [
'secret' => env('MANDRILL_SECRET'),
],
```4. Configure Mail Driver
In your `config/mail.php` file, add the Mandrill mailer configuration to the "mailers" array:
```php
'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:
```dotenv
MAIL_DRIVER=mandrill
MANDRILL_SECRET=YourMandrillAPIKey
```2. Update Service Configuration
Open the `config/services.php` file and insert the Mandrill configuration:
```php
'mandrill' => [
'secret' => env('MANDRILL_SECRET'),
],
```## Credits
- [Jorge González](https://github.com/scrubmx)
- [Roberto Aguilar](https://github.com/roberto-aguilar)
- [All Contributors](../../contributors)## License
This is an open-sourced software licensed under the [MIT license](LICENSE).