PHPackages                             riconect/mailerbundle - 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. [Database &amp; ORM](/categories/database)
4. /
5. riconect/mailerbundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

riconect/mailerbundle
=====================

Mailer helper for Swiftmailer - spooling to database.

1.0.0(9y ago)06MITPHPPHP &gt;=5.3.3

Since Aug 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/riconect/MailerBundle)[ Packagist](https://packagist.org/packages/riconect/mailerbundle)[ RSS](/packages/riconect-mailerbundle/feed)WikiDiscussions master Synced 2mo ago

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

[![Latest Stable Version](https://camo.githubusercontent.com/8fecab82a6e27d1b2434f73e2bf5e289978a6a3a961832babed4ed24ef3e9a7e/68747470733a2f2f706f7365722e707567782e6f72672f7269636f6e6563742f6d61696c657262756e646c652f762f737461626c65)](https://packagist.org/packages/riconect/mailerbundle) [![License](https://camo.githubusercontent.com/db5c97dc7b37c2f84353f375af435971c2efd3e1df3cd12ded840ca4ae795990/68747470733a2f2f706f7365722e707567782e6f72672f7269636f6e6563742f6d61696c657262756e646c652f6c6963656e7365)](https://packagist.org/packages/riconect/mailerbundle)

#### This bundle is a mail helper for Symfony framework.

[](#this-bundle-is-a-mail-helper-for-symfony-framework)

At present, it only works with the Doctrine ODM (MongoDB).

Installation and configuration
------------------------------

[](#installation-and-configuration)

### 1. Install via Composer

[](#1-install-via-composer)

```
$ composer require "riconect/mailerbundle:^1.0"
```

### 2. Add the bundle to your application's kernel

[](#2-add-the-bundle-to-your-applications-kernel)

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = [
        // ...
        new Riconect\MailerBundle\RiconectMailerBundle(),
        // ...
    ];
}
```

### 3. Configure SwiftMailer to use the bundle

[](#3-configure-swiftmailer-to-use-the-bundle)

```
# app/config/config.yml
swiftmailer:
    spool:
        type:  service
        id:    riconect_mailer.spool
```

That's it. Now your emails is saved to default database in `messages` collection.

### 4. Add cron job.

[](#4-add-cron-job)

```
$ crontab -e
```

Add this line to execute command every minute:

```
* * * * * /usr/bin/php /PATH/TO/YOUR/PROJECT/bin/console swiftmailer:spool:send --message-limit=100 --env=dev > /dev/null

```

Don't forget to change options like `--env=prod` in production server.

If you wish to keep sent emails in database, configure the bundle:

```
# app/config/config.yml
riconect_mailer:
    keep_sent_emails: true
```

Default Configuration:

```
riconect_mailer:
    database_type:        mongodb
    keep_sent_emails:     false
    message_class:        Riconect\MailerBundle\Document\Message
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3544d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1ba490cbe612286677a25671a56ec973aee978da3e38e1e51ebd368a098a8a2?d=identicon)[veego](/maintainers/veego)

---

Top Contributors

[![veego](https://avatars.githubusercontent.com/u/3180260?v=4)](https://github.com/veego "veego (3 commits)")

---

Tags

doctrinemongodbswiftmailerspool

### Embed Badge

![Health badge](/badges/riconect-mailerbundle/health.svg)

```
[![Health](https://phpackages.com/badges/riconect-mailerbundle/health.svg)](https://phpackages.com/packages/riconect-mailerbundle)
```

###  Alternatives

[omines/datatables-bundle

Symfony DataTables Bundle with native Doctrine ORM, Elastica and MongoDB support

2851.4M6](/packages/omines-datatables-bundle)[mmucklo/queue-bundle

Symfony2/3/4/5 Queue Bundle (for background jobs) supporting Mongo (Doctrine ODM), Mysql (and any Doctrine ORM), RabbitMQ, Beanstalkd, Redis, and ... {write your own}

120839.8k](/packages/mmucklo-queue-bundle)[doctrine/doctrine-mongo-odm-module

Laminas Module which provides Doctrine MongoDB ODM functionality

86676.6k35](/packages/doctrine-doctrine-mongo-odm-module)[doesntmattr/mongodb-migrations-bundle

Symfony MongoDBMigrationsBundle

23484.5k1](/packages/doesntmattr-mongodb-migrations-bundle)[doesntmattr/mongodb-migrations

Managed Database Migrations for MongoDB

23598.7k1](/packages/doesntmattr-mongodb-migrations)

PHPackages © 2026

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