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 today

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 62% 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

3204d 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.5M605](/packages/sylius-sylius)[pimcore/pimcore

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

3.7k3.6M355](/packages/pimcore-pimcore)[prestashop/prestashop

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

9.0k14.6k](/packages/prestashop-prestashop)[bolt/core

🧿 Bolt Core

585141.2k48](/packages/bolt-core)[kunstmaan/admin-bundle

The Kunstmaan Admin bundle supplies your project with a basic, elegant backend interface you can modify and extend so you can make your perfect admin module. The clean interface makes it straightforward for you and the people working with it to change settings and modify content.

58148.8k16](/packages/kunstmaan-admin-bundle)[mapbender/mapbender

Mapbender library

10117.0k5](/packages/mapbender-mapbender)

PHPackages © 2026

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