PHPackages                             weew/app-swift-mailer - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. weew/app-swift-mailer

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

weew/app-swift-mailer
=====================

Integration of the swiftmailer/swiftmailer into the weew/app package.

v1.1.1(10y ago)0831MIT

Since Jun 28Compare

[ Source](https://github.com/weew/app-swift-mailer)[ Packagist](https://packagist.org/packages/weew/app-swift-mailer)[ RSS](/packages/weew-app-swift-mailer/feed)WikiDiscussions Synced 6d ago

READMEChangelogDependencies (6)Versions (5)Used By (1)

App SwiftMailer provider
========================

[](#app-swiftmailer-provider)

[![Build Status](https://camo.githubusercontent.com/5a0b59d73fdb4b1ec095b0a18fa6a9571a9137ad6a955a87fe42a6b286654946/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f776565772f6170702d73776966742d6d61696c65722e737667)](https://travis-ci.org/weew/app-swift-mailer)[![Code Quality](https://camo.githubusercontent.com/e00331d9fc6a922387377d11f7a6d4a727bae74bc12332f52e93a940a1e15a10/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f776565772f6170702d73776966742d6d61696c65722e737667)](https://scrutinizer-ci.com/g/weew/app-swift-mailer)[![Test Coverage](https://camo.githubusercontent.com/30f1d14a13ec08a472dcc294b6be244b72ac32f53beb2039df2aa985a1f99e72/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f776565772f6170702d73776966742d6d61696c65722e737667)](https://coveralls.io/github/weew/app-swift-mailer)[![Version](https://camo.githubusercontent.com/c58ad240a8eda61710aaf21d0951c5d2c31437c165f1279011e9c58d094979db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776565772f6170702d73776966742d6d61696c65722e737667)](https://packagist.org/packages/weew/app-swift-mailer)[![Licence](https://camo.githubusercontent.com/d5e348e9a162bb0cdc1c000b70d7a545687152e9409d57fb223989f21c91b5a1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776565772f6170702d73776966742d6d61696c65722e737667)](https://packagist.org/packages/weew/app-swift-mailer)

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Introduction](#introduction)
- [Usage](#usage)
- [Example config](#example-config)

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

[](#installation)

`composer require weew/app-swift-mailer`

Introduction
------------

[](#introduction)

This package integrates the [swiftmailer/swiftmailer](https://github.com/swiftmailer/swiftmailer) library into the [weew/app](https://github.com/weew/app) package.

Usage
-----

[](#usage)

To make SwiftMailer available inside your application, simply register `SwiftMailerProvider` on the kernel.

```
$app->getKernel()->addProviders([
    SwiftMailerProvider::class
]);
```

You can retrieve a specific mailer by config name like this:

```
$swiftMailerManager = $app->getContainer()->get(ISwiftMailerManager::class);

// returns the default mailer
$swiftMailerManager->getMailer();

// returns a mailer using the specific config
$swiftMailerManager->getMailer('config1');
```

Example config
--------------

[](#example-config)

Currently supported transports are `null`, `sendmail`, `smtp`. This is how your configuration *might* look like:

```
swift_mailer:
  transports:
    # this is the default transport that is used in case no
    # mailer config name has been specified
    default: "{swift_mailer.transports.config2}"

    config1:
      type: smtp
      # server settings
      host: localhost
      port: 25
      security: tls
      # server username and password
      username:
      password:

    config2:
      type: sendmail
      # override for the used sendmail command
      command:
```

###  Health Score

28

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity66

Established project with proven stability

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 ~7 days

Total

4

Last Release

3676d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10b2b854b5829dd13a15967c000ed2119b5faef67aca24d94c653c8ac550d85e?d=identicon)[weew](/maintainers/weew)

### Embed Badge

![Health badge](/badges/weew-app-swift-mailer/health.svg)

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

###  Alternatives

[cspoo/swiftmailer-mailgun-bundle

Swiftmailer Mailgun bundle

1061.1M](/packages/cspoo-swiftmailer-mailgun-bundle)[wildbit/swiftmailer-postmark

A Swiftmailer Transport for Postmark.

542.9M6](/packages/wildbit-swiftmailer-postmark)[openbuildings/swiftmailer-css-inliner

Inline the css of your html emails

69406.3k3](/packages/openbuildings-swiftmailer-css-inliner)[mailjet/mailjet-swiftmailer

A SwiftMailer transport implementation for Mailjet

261.3M9](/packages/mailjet-mailjet-swiftmailer)[phalcon-ext/mailer

Mailer component as wrapper over SwiftMailer for Phalcon.

42202.6k2](/packages/phalcon-ext-mailer)[neos/swiftmailer

A Flow package for easy use of Swift Mailer

15910.9k25](/packages/neos-swiftmailer)

PHPackages © 2026

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