PHPackages                             appventus/swiftmailerdbbundle - 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. appventus/swiftmailerdbbundle

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

appventus/swiftmailerdbbundle
=============================

Database spooling for SwiftMailer with sms support

1.0.0(10y ago)115.1k2MITPHPPHP &gt;=5.3.3

Since Sep 20Pushed 9y ago3 watchersCompare

[ Source](https://github.com/AppVentus/WhiteOctoberSwiftMailerDBBundle)[ Packagist](https://packagist.org/packages/appventus/swiftmailerdbbundle)[ RSS](/packages/appventus-swiftmailerdbbundle/feed)WikiDiscussions master Synced 1mo ago

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

This bundle faciliates using a database to spool messages to with SwiftMailer and Symfony2.

At present, it only works with the Doctrine EntityManager and entities managed with this.

Installation
============

[](#installation)

First of all, get the bundle into your project.

**Via Composer**:

1. Add the following line to your composer.json require section:

    { "require": { "whiteoctober/swiftmailerdbbundle": "dev-master" } }
2. Download the bundle via Composer:

    $ php composer.phar update whiteoctober/swiftmailerdbbundle

**Via the deps files**:

1. Add the following lines in your `deps` file:

    \[WhiteOctoberSwiftMailerDBBundle\] git=git://github.com/whiteoctober/WhiteOctoberSwiftMailerDBBundle.git target=/bundles/WhiteOctober/SwiftMailerDBBundle

```
Run the vendors script:

    ./bin/vendors install

```

2. Add the WhiteOctober namespace to your autoloader:

    // app/autoload.php $loader-&gt;registerNamespaces(array( 'WhiteOctober' =&gt; **DIR**.'/../vendor/bundles', ));

Once you've got the bundle downloaded in your Symfony project, you'll need to add it to the kernel, and add some configuration parameters, so that it knows which entity you want to use.

1. Add the bundle to your application's kernel:

    // app/AppKernel.php public function registerBundles() { return array( // ... new WhiteOctober\\SwiftMailerDBBundle\\WhiteOctoberSwiftMailerDBBundle(), // ... ); }
2. Configure the `white_october_swift_mailer_db` service in your config.yml:

    white\_october\_swift\_mailer\_db: entity\_class: Full\\Path\\To\\Mail\\Entity

    Read below about how to construct this entity.
3. Tell SwiftMailer to use the database spooler:

    swiftmailer: spool: type: db

That's it for bundle installation and configuration.

Mail entity
===========

[](#mail-entity)

You will need to create an entity that can be persisted and that extends from the `EmailInterface` interface in the bundle. At the moment, the bundle expects a property to be available on your entity called 'status', since this field is queried.

Once you have your entity all set up, use the full namespaced path in your `config.yml`configuration as detailed above.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

3887d ago

### Community

Maintainers

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

---

Top Contributors

[![paulandrieux](https://avatars.githubusercontent.com/u/1942078?v=4)](https://github.com/paulandrieux "paulandrieux (8 commits)")[![richsage](https://avatars.githubusercontent.com/u/231551?v=4)](https://github.com/richsage "richsage (4 commits)")[![lenybernard](https://avatars.githubusercontent.com/u/618536?v=4)](https://github.com/lenybernard "lenybernard (3 commits)")

---

Tags

doctrineswiftmailerspool

### Embed Badge

![Health badge](/badges/appventus-swiftmailerdbbundle/health.svg)

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

###  Alternatives

[doctrine/common

PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, proxies and much more.

5.8k363.3M1.2k](/packages/doctrine-common)[gedmo/doctrine-extensions

Doctrine behavioral extensions

4.1k118.8M366](/packages/gedmo-doctrine-extensions)[symfony/property-info

Extracts information about PHP class' properties using metadata of popular sources

2.2k256.7M854](/packages/symfony-property-info)[beberlei/doctrineextensions

A set of extensions to Doctrine 2 that add support for additional query functions available in MySQL, Oracle, PostgreSQL and SQLite.

2.1k75.1M146](/packages/beberlei-doctrineextensions)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[carbonphp/carbon-doctrine-types

Types to use Carbon in Doctrine

213220.4M8](/packages/carbonphp-carbon-doctrine-types)

PHPackages © 2026

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