PHPackages                             symfony/sweego-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. symfony/sweego-mailer

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

symfony/sweego-mailer
=====================

Symfony Sweego Mailer Bridge

v8.1.0(1mo ago)933.2k↑285.3%1MITPHPPHP &gt;=8.4.1

Since Sep 28Pushed 4w ago2 watchersCompare

[ Source](https://github.com/symfony/sweego-mailer)[ Packagist](https://packagist.org/packages/symfony/sweego-mailer)[ Docs](https://symfony.com)[ Fund](https://symfony.com/sponsor)[ GitHub Sponsors](https://github.com/fabpot)[ RSS](/packages/symfony-sweego-mailer/feed)WikiDiscussions 8.2 Synced 2d ago

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

Sweego Bridge
=============

[](#sweego-bridge)

Provides Sweego integration for Symfony Mailer.

Configuration example:

```
# SMTP
MAILER_DSN=sweego+smtp://LOGIN:PASSWORD@HOST:PORT
```

where:

- `LOGIN` is your Sweego SMTP login
- `PASSWORD` is your Sweego SMTP password
- `HOST` is your Sweego SMTP host
- `PORT` is your Sweego SMTP port

```
# API
MAILER_DSN=sweego+api://API_KEY@default
```

where:

- `API_KEY` is your Sweego API Key

Features
--------

[](#features)

### Attachments

[](#attachments)

The bridge supports both regular attachments and inline attachments (for embedding images in HTML emails):

```
use Symfony\Component\Mime\Email;

$email = new Email();
$email
    ->to('to@example.com')
    ->from('from@example.com')
    ->subject('Email with attachments')
    ->text('Here is the text version')
    ->html('Here is the HTML content')
    // Regular attachment
    ->attach('Hello world!', 'test.txt', 'text/plain')
    // Inline attachment (embedded image)
    ->embed(fopen('image.jpg', 'r'), 'image.jpg', 'image/jpeg')
;
```

Webhook
-------

[](#webhook)

Configure the webhook routing:

```
framework:
    webhook:
        routing:
            sweego_mailer:
                service: mailer.webhook.request_parser.sweego
                secret: '%env(SWEEGO_WEBHOOK_SECRET)%'
```

And a consumer:

```
#[AsRemoteEventConsumer(name: 'sweego_mailer')]
class SweegoMailEventConsumer implements ConsumerInterface
{
    public function consume(RemoteEvent|AbstractMailerEvent $event): void
    {
        // your code
    }
}
```

Sponsor
-------

[](#sponsor)

This package is looking for a [backer](https://symfony.com/backers).

Help Symfony by [sponsoring](https://symfony.com/sponsor) its development!

Resources
---------

[](#resources)

- [Contributing](https://symfony.com/doc/current/contributing/index.html)
- [Report issues](https://github.com/symfony/symfony/issues) and [send Pull Requests](https://github.com/symfony/symfony/pulls)in the [main Symfony repository](https://github.com/symfony/symfony)

###  Health Score

56

—

FairBetter than 97% of packages

Maintenance94

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% 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 ~31 days

Recently: every ~2 days

Total

21

Last Release

29d ago

Major Versions

v7.4.0-RC1 → v8.0.0-RC12025-09-01

v7.4.0 → v8.0.02025-11-27

7.4.x-dev → 8.0.x-dev2026-06-05

PHP version history (4 changes)v7.2.0-BETA1PHP &gt;=8.1

v7.4.0-BETA1PHP &gt;=8.2

v8.0.0-RC1PHP &gt;=8.4

v8.1.0-BETA1PHP &gt;=8.4.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (16 commits)")[![welcoMattic](https://avatars.githubusercontent.com/u/773875?v=4)](https://github.com/welcoMattic "welcoMattic (5 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (4 commits)")[![gharlan](https://avatars.githubusercontent.com/u/330436?v=4)](https://github.com/gharlan "gharlan (1 commits)")

---

Tags

componentphpsymfonysymfony-component

### Embed Badge

![Health badge](/badges/symfony-sweego-mailer/health.svg)

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

###  Alternatives

[illuminate/mail

The Illuminate Mail package.

5910.6M500](/packages/illuminate-mail)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[symfony/mailgun-mailer

Symfony Mailgun Mailer Bridge

14538.8M98](/packages/symfony-mailgun-mailer)[symfony/postmark-mailer

Symfony Postmark Mailer Bridge

4820.4M66](/packages/symfony-postmark-mailer)[symfony/mailchimp-mailer

Symfony Mailchimp Mailer Bridge

286.4M20](/packages/symfony-mailchimp-mailer)[symfony/mailjet-mailer

Symfony Mailjet Mailer Bridge

485.3M15](/packages/symfony-mailjet-mailer)

PHPackages © 2026

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