dakujem / sendgrid-swiftmailer
Framework-agnostic SendGrid transport for Swift Mailer.
Installs: 76
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/dakujem/sendgrid-swiftmailer
Requires
- php: >=7
- sendgrid/sendgrid: ^6
- swiftmailer/swiftmailer: ^6
Requires (Dev)
- sendgrid/sendgrid: ^6.2
This package is auto-updated.
Last update: 2025-10-10 08:52:47 UTC
README
A framework-agnostic SendGrid transport for Swift Mailer.
Installation:
$
composer require dakujem/sendgrid-swiftmailer
Usage:
$transport = new Dakujem\SwiftGrid\SendGridTransport(getenv('SENDGRID_API_KEY')); $mailer = new Swift_Mailer($transport);
For more information, visit:
Note:
The code has been inspired by
expertcoder/swiftmailer-send-grid-bundle
, but is more flexible, works with newest SendGrid and Swift Mailer libs and does not require symfony installation.