PHPackages                             sitegeist/neos-symfonymailer-factories - 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. sitegeist/neos-symfonymailer-factories

ActiveNeos-package[Mail &amp; Notifications](/categories/mail)

sitegeist/neos-symfonymailer-factories
======================================

v1.0.2(1y ago)027.1k↓44.8%1PHPPHP &gt;=8.1CI passing

Since Aug 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sitegeist/Sitegeist.Neos.SymfonyMailer.Factories)[ Packagist](https://packagist.org/packages/sitegeist/neos-symfonymailer-factories)[ RSS](/packages/sitegeist-neos-symfonymailer-factories/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (2)Dependencies (4)Versions (4)Used By (1)

Sitegeist.Neos.SymfonyMailer.Factories
======================================

[](#sitegeistneossymfonymailerfactories)

Factories to create SymfonyMailer and Mail instances in Neos.Flow

### Authors &amp; Sponsors

[](#authors--sponsors)

- Martin Ficzel -

*The development and the public releases of this package is generously sponsored by our employer .*

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

[](#installation)

Sitegeist.Neos.SymfonyMailer.Factories is available via packagist `composer require sitegeist/neos-symfonymailer-factories`. We use semantic-versioning, so every breaking change will increase the major version number.

Usage via PHP
-------------

[](#usage-via-php)

The package provides two factory classes to create Mailers and Emails easily.

- `Sitegeist\Neos\SymfonyMailer\Factories\MailerFactory` with the method `createMailer` that will create a mailer for the specified dsn or the configured default dsn.
- `Sitegeist\Neos\SymfonyMailer\Factories\MailFactory` with the method `createMail` that will create a mail based on the provided arguments.

Example:

```
use Sitegeist\Neos\SymfonyMailer\Factories\MailerFactory;
use Sitegeist\Neos\SymfonyMailer\Factories\MailFactor;

class MailController
{
    #[Flow\Inject]
    protected MailerFactory $mailerFactory;

    #[Flow\Inject]
    protected MailFactory $mailFactory;

    public function exampleAction()
    {
        $mailer = $this->mailerFactory->createMailer();
        $mail = $this->mailFactory->createMail(
            $subject,
            $recipient,
            $sender,
            $text,
            $html
        );
        $mailer->send($mail);
    }
```

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

[](#configuration)

The package allows to configure the dsn used by the mailer globally via settings. You can use the dsn specification as it is documented by symfony here:

```
Sitegeist:
  Neos:
    SymfonyMailer:
      dsn: 'sendmail://default'
```

Contribution
------------

[](#contribution)

We will gladly accept contributions. Please send us pull requests.

License
-------

[](#license)

See [LICENSE](./LICENSE)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance46

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~638 days

Total

2

Last Release

402d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51e0a02d8e12b73949ec858638aa7e295e103022cc5a879f86ac8532c2c170bd?d=identicon)[sitegeist](/maintainers/sitegeist)

![](https://www.gravatar.com/avatar/829b4ccb51e8cff3c1e4b59d60cfe8d1b86f6d77fc31a6b3fc99227f432542ca?d=identicon)[mficzel](/maintainers/mficzel)

---

Top Contributors

[![mficzel](https://avatars.githubusercontent.com/u/1309380?v=4)](https://github.com/mficzel "mficzel (4 commits)")[![nezaniel](https://avatars.githubusercontent.com/u/1687674?v=4)](https://github.com/nezaniel "nezaniel (1 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sitegeist-neos-symfonymailer-factories/health.svg)

```
[![Health](https://phpackages.com/badges/sitegeist-neos-symfonymailer-factories/health.svg)](https://phpackages.com/packages/sitegeist-neos-symfonymailer-factories)
```

###  Alternatives

[illuminate/mail

The Illuminate Mail package.

5910.6M502](/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)
