iandenh / cakephp-sendgrid
SendgridEmail plugin for CakePHP
Installs: 113 599
Dependents: 0
Suggesters: 0
Security: 0
Stars: 16
Watchers: 3
Forks: 5
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=8.1
- ext-json: *
- cakephp/cakephp: ^5.0
- sendgrid/sendgrid: ^7.3 || ^8
This package is auto-updated.
Last update: 2025-04-10 20:02:43 UTC
README
This is a Sendgrid Email Transport plugin for CakePHP 3, 4 and 5. This branch contains the code for CakePHP 5.
Installation
You can install this plugin into your CakePHP application using composer.
composer require iandenh/cakephp-sendgrid
Setting up your CakePHP application
In you app.php
:
'Email' => [
'Sendgrid' => [
'transport' => 'SendgridEmail',
],
],
'EmailTransport' => [
'SendgridEmail' => [
'className' => 'SendgridEmail.Sendgrid',
'api_key' => 'API_KEY_HERE',
// Config options below are added in version 2
"click_tracking" => false, // true or false to toggle sendgrids click tracking
"open_tracking" => false, // true or false to toggle sendgrids open tracking
]
]
Inspired by Lennaert/cakephp3-mandrill