settermjd/laminas-sendgrid-integration

A small package to simplify integrating SendGrid into a Laminas or Mezzio project

0.0.4 2023-05-03 13:13 UTC

This package is auto-updated.

Last update: 2024-05-03 15:44:02 UTC


README

This is a small package that simplifies integrating SendGrid into Laminas and Mezzio projects.

Installation

Install this package using Composer:

composer require settermjd/laminas-sendgrid-integration

Configuration

If you're using the package with Mezzio, copy the default configuration file, config/autoload/sendgrid.global.php, to config/autoload in your project. Then, either ensure that the SENDGRID_API_KEY environment variable is set, or change the value of api_key in config/autoload/sendgrid.global.php as appropriate. I recommend using PHP Dotenv to set environment variables during development and your deployment tool otherwise.