Registry / messaging / sendgrid-sendgrid

sendgrid-sendgrid

JSON →
library8.1.11phppackagistunverified

This library allows you to quickly and easily send emails through Twilio SendGrid using PHP.

composer require sendgrid/sendgrid
INSTALL
IMPORT
SIG · SENDGRID-SENDGRID
S
sendgrid-sendgrid
messagingphpv8.1.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SendGrid
✓ use SendGrid\SendGrid;

Send an email using Twilio SendGrid with a simple API.

use SendGrid\SendGrid; $sendgrid = new SendGrid('YOUR_API_KEY'); $email = new \SendGrid\Mail\Mail(); $email->setFrom('test@example.com', 'Test'); $email->setSubject('Hello'); $email->addTo('recipient@example.com'); $email->addContent('text/plain', 'Hello World'); $response = $sendgrid->send($email);
Debug
Known issues
gotchaRequires a valid SendGrid API key; free tier has sending limits.
fix
Obtain an API key from the SendGrid dashboard and monitor usage.
affects: >=8.0.0
Upgrade
Version history
8.1.11latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
sendgrid-sendgrid — pip install sendgrid-sendgrid · libregistry