PHPackages                             interactive-solutions/zf-email-in-background - 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. interactive-solutions/zf-email-in-background

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

interactive-solutions/zf-email-in-background
============================================

1.2.4(8y ago)02.1k[1 issues](https://github.com/interactive-solutions/zf-email-in-background/issues)MITPHP

Since Aug 15Pushed 8y ago2 watchersCompare

[ Source](https://github.com/interactive-solutions/zf-email-in-background)[ Packagist](https://packagist.org/packages/interactive-solutions/zf-email-in-background)[ Docs](https://github.com/interactives-solutions/zf-email-in-background)[ RSS](/packages/interactive-solutions-zf-email-in-background/feed)WikiDiscussions master Synced 3w ago

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

InteractiveSolutions\\EmailInBackground
=======================================

[](#interactivesolutionsemailinbackground)

This is a integration module between `RoaveEmailTemplates` and `InteractiveSolutions\ZfBernard`and it allows a very simple method of sending emails in the background.

Installation
============

[](#installation)

Simple installation via composer

`composer require interactive-solutions/zf-email-in-background`

Configuration
=============

[](#configuration)

None, it's already handled for you by the module

Usage
=====

[](#usage)

Assuming you have access to the bernard producer `InteractiveSolutions\Bernard\Producer` you simply want to produce a new message that is an instance of `InteractiveSolutions\EmailInBackground\SendEmailMessage`

Example

```
$args = [
    'activationKey' => 'helloWorld'
];

$producer->producer(new SendEmailMessage('email@google.com', 'user:registration', $args));
```

And voila, you have produced a new message that will send an email in a background task

Running the code in development
===============================

[](#running-the-code-in-development)

Run this command in a terminal for the application root

`php public/index.php interactive-solutions:bernard:consume emails`

Running the code in production
==============================

[](#running-the-code-in-production)

When running in production you either want a docker container that is running the consume command or have a supervisord process running it.

Example supervisor configuration

```
[program:emails-in-background]
command=php /public/index.php interactive-solutions:bernard:consume emails
autostart=true
autorestart=true
stderr_logfile=/data/logs/supervisor/emails.err.log
stdout_logfile=/data/logs/supervisor/emails.out.log
user=www-data
group=www-data

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% 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 ~92 days

Recently: every ~117 days

Total

8

Last Release

2959d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/825f7193bec88275f660c65faab1790ed620948f5dd7a6c96515d1f12609127d?d=identicon)[mac\_nibblet](/maintainers/mac_nibblet)

---

Top Contributors

[![awartoft](https://avatars.githubusercontent.com/u/1127626?v=4)](https://github.com/awartoft "awartoft (8 commits)")[![Hotas2k](https://avatars.githubusercontent.com/u/1724484?v=4)](https://github.com/Hotas2k "Hotas2k (3 commits)")[![noggan](https://avatars.githubusercontent.com/u/7058221?v=4)](https://github.com/noggan "noggan (2 commits)")

### Embed Badge

![Health badge](/badges/interactive-solutions-zf-email-in-background/health.svg)

```
[![Health](https://phpackages.com/badges/interactive-solutions-zf-email-in-background/health.svg)](https://phpackages.com/packages/interactive-solutions-zf-email-in-background)
```

###  Alternatives

[mattketmo/email-checker

Throwaway email detection library

2752.1M5](/packages/mattketmo-email-checker)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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