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.0.0(5mo ago)911.4k↑265.8%1MITPHPPHP &gt;=8.4

Since Sep 28Pushed 5mo 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.1 Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (18)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)

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

49

—

FairBetter than 95% of packages

Maintenance70

Regular maintenance activity

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 52.4% 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 ~25 days

Recently: every ~1 days

Total

18

Last Release

173d ago

Major Versions

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

v7.4.0 → v8.0.02025-11-27

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

v7.4.0-BETA1PHP &gt;=8.2

v8.0.0-RC1PHP &gt;=8.4

### 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 (11 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.1M391](/packages/illuminate-mail)[therobfonz/laravel-mandrill-driver

Mandrill Driver for Laravel

773.5M](/packages/therobfonz-laravel-mandrill-driver)[symfony/mailjet-mailer

Symfony Mailjet Mailer Bridge

484.7M12](/packages/symfony-mailjet-mailer)[mailersend/laravel-driver

MailerSend Laravel Driver

87732.8k4](/packages/mailersend-laravel-driver)[symfony/postmark-mailer

Symfony Postmark Mailer Bridge

4717.4M34](/packages/symfony-postmark-mailer)[symfony/mailchimp-mailer

Symfony Mailchimp Mailer Bridge

275.9M17](/packages/symfony-mailchimp-mailer)

PHPackages © 2026

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