Download the PHP package jorgecortesdev/sendgrid-laravel without Composer
On this page you can find all versions of the php package jorgecortesdev/sendgrid-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jorgecortesdev/sendgrid-laravel
More information about jorgecortesdev/sendgrid-laravel
Files in jorgecortesdev/sendgrid-laravel
Package sendgrid-laravel
Short Description Laravel wrapper for the official SendGrid PHP library.
License MIT
Homepage https://github.com/jorgecortesdev/sendgrid-laravel
Informations about the package sendgrid-laravel
Sendgrid Laravel
A Laravel wrapper for the official SendGrid PHP library, providing a simple and elegant way to send emails through SendGrid in your Laravel applications.
🚨 Note
IMPORTANT: This package currently provides only the most basic functionality required to send emails using SendGrid. No advanced features or additional abstractions are included. Feel free to submit a PR if you'd like to extend the functionality!
Installation
You can install the package via Composer:
Configuration
it
Update your .env file with the SendGrid API key:
Second, add the following configuration to the config/services.php file. The data_residency option can be either 'eu' or 'global':
Lastly, add the following configuration array to your array of mailers in the config/mail.php file:
Usage
Update your .env file with the new mailer:
Don't forget to add a from address does match a verified Sender Identity.
License
The MIT License (MIT). Please see License File for more information.