PHPackages                             elfuvo/yii2-postman - 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. elfuvo/yii2-postman

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

elfuvo/yii2-postman
===================

Collect E-mails from different sources for mailing

0.0.2(4y ago)11BSD-3-ClausePHPPHP &gt;=7.1.0

Since Jun 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/eLFuvo/yii2-postman)[ Packagist](https://packagist.org/packages/elfuvo/yii2-postman)[ RSS](/packages/elfuvo-yii2-postman/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/529ddfff8fc9897d5da02b1561e5be8dccae17eda1224fe3acecd5bd03df7564/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f656c6675766f2f796969322d706f73746d616e2e737667)](https://packagist.org/packages/elfuvo/yii2-postman)[![Build](https://camo.githubusercontent.com/a840e1af1d15a9b0c97cb2dc89a9e1d92e141c5e5824524477ea3f0f99227c0f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f656c6675766f2f796969322d706f73746d616e2f4275696c642e737667)](https://github.com/elfuvo/yii2-postman)[![Total Downloads](https://camo.githubusercontent.com/a335cb3496b14cbd684f42e2a91b161b4d6caa1172c093f342ba348a2f659c3a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f656c6675766f2f796969322d706f73746d616e2f746f74616c2e737667)](https://packagist.org/packages/elfuvo/yii2-postman)[![License](https://camo.githubusercontent.com/23bb9bf4520d4986be823b971e62a966542f0d19131165f46a6122f77ce9e1a2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f656c6675766f2f796969322d706f73746d616e2e737667)](https://github.com/elfuvo/yii2-postman/blob/master/LICENSE)[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

Requirements
------------

[](#requirements)

- PHP &gt;=7.1

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist elfuvo/postman "~0.0.2"

```

or add into `composer.json`

```
"elfuvo/postman": "~0.0.2"

```

Use:
====

[](#use)

In common config define classes

```
[
    'container' => [
        'definitions' =>[
            \elfuvo\postman\processor\ProcessorInterface::class => [
                'class' => \app\modules\postman\processor\MailProcessor::class,
                'collectors' => [
                    \elfuvo\postman\collector\TextInputCollector::class,
                ],
            ],
            \elfuvo\postman\result\ResultInterface::class => \elfuvo\postman\result\CacheContinuesResult::class,
        ],
    ]
];
```

For using `DatabaseContinuesResult` add migration path "@elfuvo/postman/migrations" to console config.

```
[
    'controllerMap' => [
        'migrate' => [
            'class' => \yii\console\controllers\MigrateController::class,
            'migrationTable' => '{{%migration}}',
            'useTablePrefix' => true,
            'interactive' => false,
            'migrationPath' => [
                '@elfuvo/postman/migrations',
            ],
        ]
    ]
];
```

in backend config define module

```
[
    'modules' => [
         'postman' => [
            'class' => \yii\base\Module::class,
            'controllerNamespace' => 'elfuvo\postman\controllers\backend',
        ],
    ]
];
```

if you don't want to use queue jobs create your own controller and set `useQueue` property for IndexAction as false

```
class DefaultController extends Controller
{
    /**
     * @return array|string[]
     */
    public function actions()
    {
        return [
            'index' => [
                'class' => IndexAction::class,
                'view' => '@app/modules/postman/views/backend/default/index', // path to custom template
                'useQueue' => true, // use or not Yii2 queue for mailing
            ],
            'progress' => ProgressAction::class,
            'view' => ViewAction::class,
        ];
    }
}
```

You can create custom collector of emails, see examples. After creating collector add it in common config.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1786d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c0d618f132993a23f7d26c1e6fb42f8b54ec13e073b3e16f0c198427f0dadb2?d=identicon)[eLFuvo](/maintainers/eLFuvo)

---

Top Contributors

[![eLFuvo](https://avatars.githubusercontent.com/u/1507850?v=4)](https://github.com/eLFuvo "eLFuvo (6 commits)")

---

Tags

maileryii2extensionPostman

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/elfuvo-yii2-postman/health.svg)

```
[![Health](https://phpackages.com/badges/elfuvo-yii2-postman/health.svg)](https://phpackages.com/packages/elfuvo-yii2-postman)
```

###  Alternatives

[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28160.6k](/packages/boundstate-yii2-mailgun)[djagya/yii2-sparkpost

A library provides Yii2 integration with SparkPost mail service

1816.3k](/packages/djagya-yii2-sparkpost)

PHPackages © 2026

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