dakujem / sendgrid-swiftmailer
Framework-agnostic SendGrid transport for Swift Mailer.
0.1.1
2018-05-02 20:49 UTC
Requires
- php: >=7
- sendgrid/sendgrid: ^6
- swiftmailer/swiftmailer: ^6
Requires (Dev)
- sendgrid/sendgrid: ^6.2
This package is auto-updated.
Last update: 2024-12-10 06:38:49 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.