PHPackages                             gam6itko/sparkpost-mailer - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. gam6itko/sparkpost-mailer

ActiveSymfony-bridge[Mail &amp; Notifications](/categories/mail)

gam6itko/sparkpost-mailer
=========================

Symfony SparkPost Mailer Bridge

v0.4.0(4mo ago)791.4k↓51.9%9MITPHPPHP &gt;=7.1CI failing

Since Apr 28Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/gam6itko/sparkpost-mailer)[ Packagist](https://packagist.org/packages/gam6itko/sparkpost-mailer)[ RSS](/packages/gam6itko-sparkpost-mailer/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (5)Versions (13)Used By (0)

SparkPost transport for Symfony Mailer
======================================

[](#sparkpost-transport-for-symfony-mailer)

[![Build Status](https://camo.githubusercontent.com/af3722f2fa1360cd151e17c986f1a7797ba4192c8c16ff25d8c46b49b9ec0fe1/68747470733a2f2f7472617669732d63692e636f6d2f67616d3669746b6f2f737061726b706f73742d6d61696c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/gam6itko/sparkpost-mailer)[![Coverage Status](https://camo.githubusercontent.com/e0cb526b4cb8896aa02299ea7c03bc41e50c45905d7fd090606ca3bc8b3c62f3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f67616d3669746b6f2f737061726b706f73742d6d61696c65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/gam6itko/sparkpost-mailer?branch=master)

Installation
------------

[](#installation)

```
composer require gam6itko/sparkpost-mailer
```

Configuration
-------------

[](#configuration)

### services.yaml

[](#servicesyaml)

```
services:
    mailer.transport_factory.sparkpost:
        class: Gam6itko\Symfony\Mailer\SparkPost\Transport\SparkPostTransportFactory
        arguments: ['@event_dispatcher', '@?http_client', '@?monolog.logger']
        tags:
            - {name: mailer.transport_factory}
```

### .env

[](#env)

#### Default region

[](#default-region)

```
MAILER_DSN=sparkpost+api://api_key@default
```

```
MAILER_DSN=sparkpost+smtp://user:password@default:port
```

#### EU region

[](#eu-region)

```
MAILER_DSN=sparkpost+api://api_key@default?region=eu
```

```
MAILER_DSN=sparkpost+smtp://user:password@default:port?region=eu
```

Tests
-----

[](#tests)

### Using sink server

[](#using-sink-server)

[About sink server](https://support.sparkpost.com/docs/faq/using-sink-server)

```
services:
    Gam6itko\Symfony\Mailer\SparkPost\EventListener\SinkEnvelopeListener:
        tags: ['kernel.event_subscriber']
```

Also
----

[](#also)

[Sparkpost's "transmissions" API reference](https://developers.sparkpost.com/api/transmissions/)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance75

Regular maintenance activity

Popularity39

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% of commits — single point of failure

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 ~192 days

Recently: every ~384 days

Total

12

Last Release

138d ago

PHP version history (2 changes)v0.1.0PHP ^7.1

v0.1.7PHP &gt;=7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3841197?v=4)[Alexander Strizhak](/maintainers/gam6itko)[@gam6itko](https://github.com/gam6itko)

---

Top Contributors

[![gam6itko](https://avatars.githubusercontent.com/u/3841197?v=4)](https://github.com/gam6itko "gam6itko (15 commits)")[![chdeliens](https://avatars.githubusercontent.com/u/991003?v=4)](https://github.com/chdeliens "chdeliens (5 commits)")[![jamilb86](https://avatars.githubusercontent.com/u/5673493?v=4)](https://github.com/jamilb86 "jamilb86 (3 commits)")[![comur](https://avatars.githubusercontent.com/u/1212381?v=4)](https://github.com/comur "comur (1 commits)")[![mrDlef](https://avatars.githubusercontent.com/u/1705964?v=4)](https://github.com/mrDlef "mrDlef (1 commits)")

---

Tags

mailerphpsparkpostsymfonysymfonymailersparkpost

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gam6itko-sparkpost-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/gam6itko-sparkpost-mailer/health.svg)](https://phpackages.com/packages/gam6itko-sparkpost-mailer)
```

###  Alternatives

[illuminate/mail

The Illuminate Mail package.

5910.6M500](/packages/illuminate-mail)[symfony/mailchimp-mailer

Symfony Mailchimp Mailer Bridge

286.4M20](/packages/symfony-mailchimp-mailer)[dotkernel/dot-mail

Dotkernel mail component based on symfony mailer

1145.8k6](/packages/dotkernel-dot-mail)[hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. 🚀

15130.8k](/packages/hafael-azure-mailer-driver)[yzh52521/think-mail

A powerful and beautiful php mailer for All of ThinkPHP and Other PHP Frameworks based symfony

755.1k](/packages/yzh52521-think-mail)

PHPackages © 2026

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