settermjd/laminas-sendgrid-integration

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

Maintainers

Package info

github.com/settermjd/laminas-sendgrid-integration

Documentation

pkg:composer/settermjd/laminas-sendgrid-integration

Fund package maintenance!

Community Bridge

Statistics

Installs: 35

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

0.0.4 2023-05-03 13:13 UTC

This package is auto-updated.

Last update: 2026-03-01 00:41:53 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.