PHPackages                             thienvu18/symfony-postal-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. thienvu18/symfony-postal-mailer

ActiveSymfony-mailer-bridge[Mail &amp; Notifications](/categories/mail)

thienvu18/symfony-postal-mailer
===============================

Symfony Postal Mailer Bridge using Postal's PHP client

v1.0.4(6mo ago)19GPL-3.0-or-laterPHPPHP &gt;=8.2

Since Aug 22Pushed 6mo agoCompare

[ Source](https://github.com/thienvu18/symfony-postal-mailer)[ Packagist](https://packagist.org/packages/thienvu18/symfony-postal-mailer)[ Docs](https://github.com/thienvu18/symfony-postal-mailer.git)[ RSS](/packages/thienvu18-symfony-postal-mailer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (4)Used By (0)

Postal Mailer
=============

[](#postal-mailer)

Provides [Postal Email](https://docs.postalserver.io/) integration for Symfony Mailer.

Symfony Postal Mailer Bridge
----------------------------

[](#symfony-postal-mailer-bridge)

[![License: GPL v3](https://camo.githubusercontent.com/48bf9b56d44f38db53ce21294cf0b9487d0a3734ab3ba1fe4c69858ae20db2c1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c76332d626c75652e737667)](LICENSE)

A Symfony Mailer Bridge for [Postal](https://postalserver.io/) using the official [postalserver/postal-php](https://github.com/postalserver/postal-php) client. This package is inspired by [symfony/postal-mailer](https://github.com/symfony/postal-mailer), but leverages the official Postal PHP client instead of implementing the API manually.

Features
--------

[](#features)

- Seamless integration with Symfony Mailer
- Uses the official Postal PHP client for reliability and future compatibility
- Simple configuration and usage

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

[](#installation)

```
composer require thienvu18/symfony-postal-mailer
```

Usage
-----

[](#usage)

Configure your Symfony Mailer to use the Postal transport. Example configuration:

```
# config/packages/mailer.yaml
framework:
  mailer:
    dsn: 'postal+api://@:'
```

Replace ``, ``, and `` with your Postal server details.

Usage with Laravel
------------------

[](#usage-with-laravel)

You can use this package as a custom Symfony transport in Laravel by registering the Postal transport in the `boot` method of one of your service providers (e.g., `App\Providers\AppServiceProvider`):

```
use Illuminate\Support\Facades\Mail;
use Kyle\PostalMailer\Transport\PostalTransportFactory;
use Symfony\Component\Mailer\Transport\Dsn;

public function boot(): void
{
  Mail::extend('postal', function () {
      return (new PostalTransportFactory)->create(
          new Dsn(
              'postal+api',
              config('services.postal.base_url'),
              null,
              config('services.postal.key')
          )
      );
  });
}
```

Next, add a new mailer to your `config/mail.php`:

```
'mailers' => [
  'postal' => [
    'transport' => 'postal',
  ],
  // ...existing mailers...
],
```

Then, add an entry for your Postal API credentials to your application's `config/services.php` configuration file:

```
'services' => [
  'postal' => [
      'base_url' => env('POSTAL_BASE_URL'),
      'key' => env('POSTAL_API_KEY'),
  ],
  // ...existing services
]
```

Also, set your API key in your `.env` file:

```
POSTAL_BASE_URL=your-base-url
POSTAL_API_KEY=your-postal-api-key
```

Finally, set your default mailer to `postal` in your `.env` file:

```
MAIL_MAILER=postal
```

Credits
-------

[](#credits)

- [symfony/postal-mailer](https://github.com/symfony/postal-mailer) for the original inspiration and implementation ideas.
- [postalserver/postal-php](https://github.com/postalserver/postal-php) for the official Postal PHP client.

Thank you to both projects for their excellent work and open source contributions!

License
-------

[](#license)

This project is licensed under the [GPL-3.0-or-later](LICENSE).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance66

Regular maintenance activity

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~29 days

Total

3

Last Release

205d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c2493db11f436fbd7f97e124664bcf9ae2deb4613724e12a80990179c21e402?d=identicon)[thienvu18](/maintainers/thienvu18)

---

Top Contributors

[![thienvu18](https://avatars.githubusercontent.com/u/28602861?v=4)](https://github.com/thienvu18 "thienvu18 (7 commits)")

---

Tags

symfonypostalmailer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thienvu18-symfony-postal-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/thienvu18-symfony-postal-mailer/health.svg)](https://phpackages.com/packages/thienvu18-symfony-postal-mailer)
```

###  Alternatives

[dotkernel/dot-mail

Dotkernel mail component based on symfony mailer

1140.0k5](/packages/dotkernel-dot-mail)[yzh52521/think-mail

A powerful and beautiful php mailer for All of ThinkPHP and Other PHP Frameworks based symfony

745.0k](/packages/yzh52521-think-mail)[hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. 🚀

14109.2k](/packages/hafael-azure-mailer-driver)

PHPackages © 2026

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