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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. it/swift-mailer-logger-bundle

ActiveSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

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

A simple Monolog and Database logger for SwiftMailer emails

1.1(9y ago)4116MITPHPPHP &gt;=5.3.8

Since Dec 8Pushed 9y 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 3w 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 57% 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

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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[sylius/sylius

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

8.5k5.8M712](/packages/sylius-sylius)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M462](/packages/pimcore-pimcore)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)[sulu/sulu

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

1.3k1.4M196](/packages/sulu-sulu)[prestashop/prestashop

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

9.1k16.8k](/packages/prestashop-prestashop)

PHPackages © 2026

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