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

ActiveNeos-package

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

v1.0.2(11mo ago)024.0k↓33.3%1PHPPHP &gt;=8.1CI passing

Since Aug 29Pushed 11mo 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 1mo 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

39

—

LowBetter than 86% of packages

Maintenance50

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

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

355d 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

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)

PHPackages © 2026

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