Download the PHP package lonesta/laravel-mandrill-notification-channel without Composer
On this page you can find all versions of the php package lonesta/laravel-mandrill-notification-channel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lonesta/laravel-mandrill-notification-channel
More information about lonesta/laravel-mandrill-notification-channel
Files in lonesta/laravel-mandrill-notification-channel
Package laravel-mandrill-notification-channel
Short Description Mandrill Notifications Channel for Laravel 5.3
License MIT
Homepage https://github.com/techinasia/laravel-mandrill-notification-channel
Informations about the package laravel-mandrill-notification-channel
Mandrill Notification Channel for Laravel
Use Laravel 5.3 notifications to send mail via Mandrill.
Contents
- Installation
- Setting up Mandrill
- Usage
- Available Message methods
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
Installation
Install this package with Composer:
Register the service provider in your config/app.php
:
Setting up Mandrill
Add your API key to your configuration at config/services.php
:
Usage
Send mails via Mandrill in your notification:
You need to specify the email address and name of the notifiable by defining a routeNotificationForMandrill
method on the entity:
You can also specify multiple recipients by supplying an list similar to the to[]
struct of Mandrill API:
Available Message methods
template(string $name, array $content)
: Sets the template name and content of the message. If this is set,send-template
will be used instead ofsend
.
The following methods work the same as the parameters in send
and send-template
calls from the Mandrill API.
async(bool $value = true)
: Enable a background sending mode that is optimized for bulk sending.ip_pool(string $name)
: Name of the dedicated ip pool that should be used to send the message.send_at(DateTime $datetime)
: Date / time of when to send the message. Object will be converted to UTC.
You can set any attributes of the message
struct by calling the name of attribute in camel case with the value as the parameter:
Changelog
Please see CHANGELOG for more information for what has changed recently.
Testing
Security
If you discover any security related issues, please email [email protected] instead of using the issues tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-mandrill-notification-channel with dependencies
illuminate/notifications Version ^5.3
illuminate/queue Version ^5.1|^5.2|^5.3
illuminate/support Version ^5.1|^5.2|^5.3
mandrill/mandrill Version ^1.0