PHPackages                             gulaandrij/swiftmailer-send-grid-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. gulaandrij/swiftmailer-send-grid-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

gulaandrij/swiftmailer-send-grid-bundle
=======================================

Swiftmailer Transport and Symfony bundle for Sendgrid

2.2.0(7y ago)91.5kMITPHPPHP &gt;=7.1

Since Feb 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/gulaandrij/SwiftmailerSendGridBundle)[ Packagist](https://packagist.org/packages/gulaandrij/swiftmailer-send-grid-bundle)[ Docs](https://github.com/gulaandrij/SwiftmailerSendGridBundle)[ RSS](/packages/gulaandrij-swiftmailer-send-grid-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (10)Versions (8)Used By (0)

SwiftmailerSendGridBundle
=========================

[](#swiftmailersendgridbundle)

[![Latest Version](https://camo.githubusercontent.com/b9dcecd7dd494678d36fd572d718de05aeb6afe99c01062bf24b74d7f2179112/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f67756c61616e6472696a2f53776966746d61696c657253656e644772696442756e646c652e7376673f7374796c653d666c61742d737175617265)](https://github.com/gulaandrij/SwiftmailerSendGridBundle/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/f728a3caa500ca28f397a3ef91d1350770cd0958bfbbf82ffd726d57d79c2b58/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f67756c61616e6472696a2f53776966746d61696c657253656e644772696442756e646c652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/gulaandrij/SwiftmailerSendGridBundle)

Symfony 2/3 bundle for SendGrid. Utilizes the SendGrid PHP Library to make it compatiable with SwiftMailer.

Installation Example
--------------------

[](#installation-example)

`composer require expertcoder/swiftmailer-send-grid-bundle`

**or**

*composer.json*

```
"require": {
    ...
    "expertcoder/swiftmailer-send-grid-bundle": "~1.0"
}
```

*AppKernel.php*

```
$bundles = [
    // ...
    new ExpertCoder\Swiftmailer\SendGridBundle\ExpertCoderSwiftmailerSendGridBundle(),
];
```

*parameters.yml.dist*

```
parameters:
    sendgrid_api_key: PleaseEnterSendGridApiKey
```

*config.yml*

```
swiftmailer:
    transport: expertcoder_swift_mailer.send_grid.transport

expert_coder_swiftmailer_send_grid:
    api_key: %sendgrid_api_key%
    categories: [my_category] # optional, will be added to all mails sent
```

#### Symfony 3

[](#symfony-3)

Since Symfony 3.2, you must name the custom transport service swiftmailer.mailer.transport.&lt; name &gt;

*services.yml*

```
services:
    swiftmailer.mailer.transport.expertcoder_swift_mailer.send_grid.transport:
      alias: expertcoder_swift_mailer.send_grid.transport
```

*config.yml*

```
imports:
    - { resource: services.yml }
```

Important !
-----------

[](#important-)

Following RFC 1341, section 7.2, if either `text/html` or `text/plain` are to be sent in your email: `text/plain` needs to be first, followed by `text/html`, followed by any other content.

For more informations, please see [SwiftMailer](https://swiftmailer.symfony.com/docs/messages.html#quick-reference) and [RFC 1341](https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~23 days

Total

7

Last Release

2919d ago

Major Versions

1.1.0 → 2.0.02018-04-03

PHP version history (2 changes)1.0.0PHP &gt;=5.4

2.2.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/052561cd33ec8c827e577126b002d23624c0cb0592ac504ad79fce078fc2c15d?d=identicon)[gulaandrij](/maintainers/gulaandrij)

---

Top Contributors

[![gulaandrij](https://avatars.githubusercontent.com/u/2658746?v=4)](https://github.com/gulaandrij "gulaandrij (12 commits)")[![moux2003](https://avatars.githubusercontent.com/u/4438388?v=4)](https://github.com/moux2003 "moux2003 (11 commits)")[![expertcoder](https://avatars.githubusercontent.com/u/18326086?v=4)](https://github.com/expertcoder "expertcoder (8 commits)")[![bziraoui](https://avatars.githubusercontent.com/u/6359753?v=4)](https://github.com/bziraoui "bziraoui (1 commits)")[![joubertredrat](https://avatars.githubusercontent.com/u/1520407?v=4)](https://github.com/joubertredrat "joubertredrat (1 commits)")[![TOTOleHero](https://avatars.githubusercontent.com/u/657752?v=4)](https://github.com/TOTOleHero "TOTOleHero (1 commits)")

---

Tags

symfonysendgridsymfony4swiftmailer

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gulaandrij-swiftmailer-send-grid-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/gulaandrij-swiftmailer-send-grid-bundle/health.svg)](https://phpackages.com/packages/gulaandrij-swiftmailer-send-grid-bundle)
```

###  Alternatives

[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
