PHPackages                             xelax90/zf-mail-config - 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. xelax90/zf-mail-config

ActiveLibrary

xelax90/zf-mail-config
======================

Simple module providing transport configuration in config files

2.0.1(3y ago)021.6k↓40.6%MITPHP

Since Dec 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/xelax90/zf-mail-config)[ Packagist](https://packagist.org/packages/xelax90/zf-mail-config)[ RSS](/packages/xelax90-zf-mail-config/feed)WikiDiscussions master Synced 1mo ago

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

Mail configuration
==================

[](#mail-configuration)

This module provides a simple factory for mail transports that reads the configuration from the application config.

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

[](#installation)

Installation of XelaxMailConfig uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

```
composer require xelax90/zf-mail-config
```

Then add `XelaxUserNotification` to your `config/application.config.php`.

Now copy the provided configuration files `vendor/xelax90/zf-mail-config/config/xelax-mail-config.global.php` and `vendor/xelax90/zf-mail-config/config/xelax-mail-config.local.php.dist`into your `config/autoload` directory. Also make another copy of the `xelax-mail-config.local.php.dist` file without the `.dist` extension.

Configuration
-------------

[](#configuration)

For configuration of the transport please refer to the [zend-mail documentation](https://docs.zendframework.com/zend-mail/). The provided configuration is directly passed to the `Zend\Mail\Transport\Factory` factory.

Retrieving a `TransportInterface` instance
------------------------------------------

[](#retrieving-a-transportinterface-instance)

This module registers a factory for the `Zend\Mail\Transport\TransportInterface` class. To retrieve an instance from the service manager simply call

`$transport = $container->get(Zend\Mail\Transport\TransportInterface::class);`

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

4

Last Release

1392d ago

Major Versions

1.0.1 → 2.02022-07-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1559538?v=4)[xelax90](/maintainers/xelax90)[@xelax90](https://github.com/xelax90)

---

Top Contributors

[![xelax90](https://avatars.githubusercontent.com/u/1559538?v=4)](https://github.com/xelax90 "xelax90 (8 commits)")

### Embed Badge

![Health badge](/badges/xelax90-zf-mail-config/health.svg)

```
[![Health](https://phpackages.com/badges/xelax90-zf-mail-config/health.svg)](https://phpackages.com/packages/xelax90-zf-mail-config)
```

###  Alternatives

[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[laminas/laminas-router

Flexible routing system for HTTP and console applications

3520.6M64](/packages/laminas-laminas-router)

PHPackages © 2026

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