abkrim/sendgrid

Interface for use Sengrid API with Laravel

0.1.7 2022-01-28 18:55 UTC

This package is auto-updated.

Last update: 2024-04-29 04:41:14 UTC


README

Sendgrid is gateway that improves the use of the official Sendgrid library for PHP.

Installation

Install via composer

composer require abkrim/sendgrid

Publish package assets

php artisan vendor:publish --provider="Abkrim\Sendgrid\ServiceProvider"

Usage

Requirements for testing

Testing is not mocked.

For the tests you need:

  • A sendgrid account
  • A registered domain and that you can configure your DNS
  • Register it in sendgrid
    • Domain or a subdomain for test link branding. Configure in .env.testing with SENDGRID_DOMAIN_AUTH_BRANDING
    • Domain or a subdomain for test Authentication Configure in .env.testing with SENDGRID_DOMAIN_AUT

Security

If you discover any security related issues, please email abdelkarim.mateos@castris.com instead of using the issue tracker.

Credits