PHPackages                             webservco/mail - 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. webservco/mail

ActiveLibrary

webservco/mail
==============

A PHP component/library.

v1.1.0(1y ago)0125MITPHPPHP ^8.4

Since Apr 5Pushed 1y ago1 watchersCompare

[ Source](https://github.com/webservco/mail)[ Packagist](https://packagist.org/packages/webservco/mail)[ Docs](https://webserv.co)[ RSS](/packages/webservco-mail/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (22)Versions (12)Used By (0)

webservco/mail
==============

[](#webservcomail)

A PHP component/library for async email sending.

---

Setup
-----

[](#setup)

- [Create table](resources/storage/structure/mailing.sql)
    - Can use custom name if needed.

Usage
-----

[](#usage)

### Adding email to sending queue

[](#adding-email-to-sending-queue)

1. Create a `\WebServCo\Mail\DataTransfer\MailItem` DTO.
2. Store it: `WebServCo\Mail\Contract\Service\Storage\MailItemStorageInterface`.`storeMailItem(MailItem $mailItem): int`.

### Sending emails

[](#sending-emails)

- Use a scheduled job;
- Process: `MailingProcessorInterface`.`process()`;
- Get report: `MailingProcessorInterface`.`getItemsProcessingReport()`;

See also
--------

[](#see-also)

`MailingTableNameServiceFromConfig` - a default `MailingTableNameServiceInterface` implementation.

---

TODO
----

[](#todo)

- Add support for attachments;

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance47

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Recently: every ~54 days

Total

11

Last Release

390d ago

Major Versions

v0.12.0 → v1.0.02025-02-15

PHP version history (3 changes)v0.0.1PHP ^8.2

v0.8.0PHP ^8.3

v1.0.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/d141a82e41201dab8f836df9f4c78ad56a131c100c1ff814515d0d6f011fdecd?d=identicon)[ariademur](/maintainers/ariademur)

---

Top Contributors

[![ariademur](https://avatars.githubusercontent.com/u/34913107?v=4)](https://github.com/ariademur "ariademur (57 commits)")

---

Tags

componentwebservco

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webservco-mail/health.svg)

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

PHPackages © 2026

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