PHPackages                             sfcod/email-engine - 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. sfcod/email-engine

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

sfcod/email-engine
==================

Email engine for Symfony

1.2.0(3y ago)92.2k↓75%2MITPHPPHP ^7.4

Since Feb 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sfcod/email-engine)[ Packagist](https://packagist.org/packages/sfcod/email-engine)[ RSS](/packages/sfcod-email-engine/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (6)Versions (13)Used By (0)

Symfony Email Engine Bundle
===========================

[](#symfony-email-engine-bundle)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/381ce6c13f86ddf65b9f353912f13b110a08ddd0109bdf2f2a70fa8c73306086/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7366636f642f656d61696c2d656e67696e652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sfcod/email-engine/?branch=master)[![Code Climate](https://camo.githubusercontent.com/cedda6466692ecb97cb2aaa64fc4d582ea56b312585f77a6ac36195a2b7481cb/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7366636f642f656d61696c2d656e67696e652f6261646765732f6770612e737667)](https://codeclimate.com/github/sfcod/email-engine)

Provides possibility to send parametrized emails with attachments using queue of senders+repositories combination.

#### Config:

[](#config)

```
sfcod_email_engine:
    main_sender: chained_sender
    senders:
        chained_sender:
            chain:
                senders: [db_swiftmailer_sender, twig_file_swiftmailer_sender]
        twig_file_swiftmailer_sender:
            sender:
                class: SfCod\EmailEngineBundle\Sender\SwiftMailerSender
            repository:
                class: SfCod\EmailEngineBundle\Repository\TwigFileRepository
        db_swiftmailer_sender:
            sender:
                class: SfCod\EmailEngineBundle\Sender\SwiftMailerSender
            repository:
                class: SfCod\EmailEngineBundle\Repository\DbRepository
                arguments: { entity: , attribute: slug }
    templates:
        - SfCod\EmailEngineBundle\Example\TestTemplate
```

Where "templates" section needed for "SfCod\\EmailEngineBundle\\Mailer\\TemplateManager" service and for params autowiring/autoconfiguring as services. Using which you can get all possible email template parameters, description, etc.

And &lt;entity\_class&gt; implements SfCod\\EmailEngineBundle\\Entity\\EmailEntityInterface

#### Usage:

[](#usage)

```
use SfCod\EmailEngineBundle\Mailer\Mailer;
use SfCod\EmailEngineBundle\Example\TestOptions;
use SfCod\EmailEngineBundle\Example\TestTemplate;

public function indexAction(Mailer $mailer) {
    $options = new TestOptions('some message', 'attachment_path');
    $template = new TestTemplate($options);
    $mailer->send($template, 'example@email.com');
}
```

If you want to use SfCod\\EmailEngineBundle\\Sender\\SwiftMailerSender with SfCod\\EmailEngineBundle\\Repository\\TwigFileRepository then you have to implement SfCod\\EmailEngineBundle\\Template\\TwigTemplateAwareInterface.

And TestTemplate email will be sent using SwiftMailerSender and template data will be collected from DbRepository. If it fails, will be used SwiftMailerSender+TwigFileRepository, because both of them listed in "chained\_sender" (see config section).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~411 days

Total

10

Last Release

1250d ago

PHP version history (2 changes)1.0.0PHP ^7.0

1.2.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/7934283ca98b7f31bb5bf13119a8495cad80ac9097125a48792f47caddb588b9?d=identicon)[lexxorlov](/maintainers/lexxorlov)

---

Top Contributors

[![lexxorlov](https://avatars.githubusercontent.com/u/7910574?v=4)](https://github.com/lexxorlov "lexxorlov (15 commits)")[![Mark1Z](https://avatars.githubusercontent.com/u/9988709?v=4)](https://github.com/Mark1Z "Mark1Z (14 commits)")[![denis-zf](https://avatars.githubusercontent.com/u/90699783?v=4)](https://github.com/denis-zf "denis-zf (3 commits)")

---

Tags

email-senderemail-templatephpsymfonysymfony-bundle

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/sfcod-email-engine/health.svg)

```
[![Health](https://phpackages.com/badges/sfcod-email-engine/health.svg)](https://phpackages.com/packages/sfcod-email-engine)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sulu/skeleton

Project template for starting your new project based on the Sulu content management system

29733.3k](/packages/sulu-skeleton)

PHPackages © 2026

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