PHPackages                             it/swift-mailer-logger-bundle - 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. it/swift-mailer-logger-bundle

ActiveSymfony-bundle

it/swift-mailer-logger-bundle
=============================

A simple Monolog and Database logger for SwiftMailer emails

1.1(8y ago)4115MITPHPPHP &gt;=5.3.8

Since Dec 8Pushed 8y ago2 watchersCompare

[ Source](https://github.com/IntuitivTechnology/SwiftMailerLogger)[ Packagist](https://packagist.org/packages/it/swift-mailer-logger-bundle)[ RSS](/packages/it-swift-mailer-logger-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

SwiftMailerLoggerBundle
=======================

[](#swiftmailerloggerbundle)

Symfony2 Bundle for logging all emails sent with SwiftMailer.

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

[](#installation)

Install with composer :

```
composer require it/swift-mailer-logger-bundle
```

### Enable the bundle in your project

[](#enable-the-bundle-in-your-project)

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new IT\SwiftMailerLoggerBundle\ITSwiftMailerLoggerBundle(),
        // ...
    );
}
```

Config
------

[](#config)

Add the following line to your `config.yml` :

```
# app/config/config.yml

it_swift_mailer_logger:
    level:              debug          # Default to "info"
    type:               rotating_file  # Default to "rotating_file"
    path:               ~              # Default to "%kernel.logs_dir%/mailer.%kernel.environment%.log"
    max_files:          15             # Défault to 10
#    enable_db_logger:  false          # Default to false. Set it to true to enable the database logger
```

Usage
-----

[](#usage)

A log file will automatically be created and filled when emails are sent. Turn ON the database logger to log all emails sent into your database.

**Warning :**If you want to use the database logger, don't forget to update your database with the following command :

```
php app/console doctrine:schema:update --dump-sql --force
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~188 days

Total

2

Last Release

3251d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1414e4422c1b621f7e70def07c5d78286e4024d36df8b704dc3c50f30fb86750?d=identicon)[pierre-vassoilles](/maintainers/pierre-vassoilles)

---

Top Contributors

[![Nanakii](https://avatars.githubusercontent.com/u/46759547?v=4)](https://github.com/Nanakii "Nanakii (1 commits)")[![pierre-vassoilles](https://avatars.githubusercontent.com/u/6613517?v=4)](https://github.com/pierre-vassoilles "pierre-vassoilles (1 commits)")

### Embed Badge

![Health badge](/badges/it-swift-mailer-logger-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/it-swift-mailer-logger-bundle/health.svg)](https://phpackages.com/packages/it-swift-mailer-logger-bundle)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M647](/packages/sylius-sylius)[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)[shopware/platform

The Shopware e-commerce core

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

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

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

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