Download the PHP package robrogers/larajet without Composer
On this page you can find all versions of the php package robrogers/larajet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download robrogers/larajet
More information about robrogers/larajet
Files in robrogers/larajet
Package larajet
Short Description Laravel Mail Transport for Mailjet
License MIT
Homepage https://github.com/robrogers3/larajet
Informations about the package larajet
Larajet
Larajet is a mail transport for Laravel. It is a MailJet integration package. Much like Mailgun, this allows for sending Mail via the mailjet api (based on Mailjet API v3.) It supports Mailables and Notifables.
Install
Via Composer
Configure
You will need to update app.php in the config directory:
In Package Service Providers section add:
Also, add this line to the 'aliases' array
Then you need to update config/services.php. Add this under Third Party Services:
Lasty, you will need to update your .env file accordingly to set your MailJet Public and Private keys.
Usage
The best way is to create a Mailable. e.g.
Then just mail it!
Learn about Mailables on laravel.com
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
There is only one test. It tests the mail was sent.
Basically the steps are:
- Call a console command, or hit a route that sends an email.
- There are no more steps.
A route might look like:
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.