PHPackages                             bnomei/kirby3-mailtester - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. bnomei/kirby3-mailtester

AbandonedArchivedKirby-plugin[Testing &amp; Quality](/categories/testing)

bnomei/kirby3-mailtester
========================

Kirby 3 mail-tester.com

1.1.1(3y ago)0185MITPHPPHP &gt;=8.0

Since Nov 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bnomei/kirby3-mailtester)[ Packagist](https://packagist.org/packages/bnomei/kirby3-mailtester)[ RSS](/packages/bnomei-kirby3-mailtester/feed)WikiDiscussions main Synced today

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

Kirby mail-tester.com
=====================

[](#kirby-mail-testercom)

[![Release](https://camo.githubusercontent.com/5e508414f1dc5a1314332687776968bc5843b9165ffa2832230e080dcb0ace02/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f626e6f6d65692f6b69726279332d6d61696c7465737465723f636f6c6f723d616538316666)](https://camo.githubusercontent.com/5e508414f1dc5a1314332687776968bc5843b9165ffa2832230e080dcb0ace02/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f762f626e6f6d65692f6b69726279332d6d61696c7465737465723f636f6c6f723d616538316666)[![Downloads](https://camo.githubusercontent.com/dcae4a79b4191a971ddf85e1f956b93db85e01755a4aaf3be127e19345022973/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f626e6f6d65692f6b69726279332d6d61696c7465737465723f636f6c6f723d323732383232)](https://camo.githubusercontent.com/dcae4a79b4191a971ddf85e1f956b93db85e01755a4aaf3be127e19345022973/68747470733a2f2f666c61742e62616467656e2e6e65742f7061636b61676973742f64742f626e6f6d65692f6b69726279332d6d61696c7465737465723f636f6c6f723d323732383232)[![Build Status](https://camo.githubusercontent.com/f4d314191971e6efaf7d8995be57f9c1933e07e58790dcd26e7a19e739503d6e/68747470733a2f2f666c61742e62616467656e2e6e65742f7472617669732f626e6f6d65692f6b69726279332d6d61696c746573746572)](https://travis-ci.com/bnomei/kirby3-mailtester)[![Coverage Status](https://camo.githubusercontent.com/58cd231b2ff9c3eb1092b1ab7d77a31b00067896aae93a3f207ec05c15244f3c/68747470733a2f2f666c61742e62616467656e2e6e65742f636f766572616c6c732f632f6769746875622f626e6f6d65692f6b69726279332d6d61696c746573746572)](https://coveralls.io/github/bnomei/kirby3-mailtester)[![Maintainability](https://camo.githubusercontent.com/8b949fed76b2613451a848d6d9fb523db57c918c7bfe227b05913b4631a194dd/68747470733a2f2f666c61742e62616467656e2e6e65742f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f626e6f6d65692f6b69726279332d6d61696c746573746572)](https://codeclimate.com/github/bnomei/kirby3-mailtester)[![Twitter](https://camo.githubusercontent.com/b90e4b58a887e8ad09ec267628b75199a48522a9e01e88b129e5d2d730dffe50/68747470733a2f2f666c61742e62616467656e2e6e65742f62616467652f747769747465722f626e6f6d65693f636f6c6f723d363664396566)](https://twitter.com/bnomei)

Install
-------

[](#install)

Using composer:

```
composer require getkirby/cli bnomei/kirby3-janitor bnomei/kirby3-mailtester
```

Since the Kirby CLI can only be installed with composer using gitsubmodules or installation from ZIP files is not recommended.

Usage
-----

[](#usage)

You need to forward the data you want to send (`from, subject, body[text,html], transport?`) to the command as [JSON string](https://www.php.net/manual/en/function.json-encode.php). The example shows a `$page->emailDataJSON()`-method but that is something you need to implement yourself.

**site/blueprints/default.yml**

```
fields:
  mailtester_spam:
    type: janitor
    command: 'mailtester:spam --to MAILTESTER_USERNAME --data {( page.emailDataJSON )}'
    label: Test to current User
    icon: mailtester
```

> Note: The command is using the Janitor-only delayed resolution of query language with `{( query )}` in its panel button for the data argument. The argument will not be resolved on every panel view but only when Janitor receives the api call after the button press.

When calling the command using PHP you need to provide the `page` argument yourself to allow the `data` arguments query to be resolved.

```
var_dump(
    janitor()->command(
        'mailtester:spam' .
        ' --to MAILTESTER_USERNAME' .
        ' --data {{ page.emailDataJSON }}' .
        ' --page ' . $page->uuid()
    )
);
```

### Username (paid accounts)

[](#username-paid-accounts)

You can set your [paid mail-tester.com account](https://www.mail-tester.com/manager/) to an environment variable and let it be loaded it with my [dotenv plugin](https://github.com/bnomei/kirby3-dotenv). Doing that you do not need to provide the `--to` argument in the command.

```
MAILTESTER_USERNAME=myusername
```

Dependencies
------------

[](#dependencies)

- [Kirby CLI](https://github.com/getkirby/cli)
- [mail-tester.com](https://www.mail-tester.com)

Disclaimer
----------

[](#disclaimer)

This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please [create a new issue](https://github.com/bnomei/kirby3-mailtester/issues/new).

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

3

Last Release

1209d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3265642?v=4)[Bruno Meilick](/maintainers/bnomei)[@bnomei](https://github.com/bnomei)

---

Top Contributors

[![bnomei](https://avatars.githubusercontent.com/u/3265642?v=4)](https://github.com/bnomei "bnomei (17 commits)")

---

Tags

e-mailemailkirby3kirby3-cmskirby3-pluginmail-testerspamspam-detectiontesttestmailemailspame-mailnewsletterkirby3kirby3-pluginkirby3-cmsspam-detection

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bnomei-kirby3-mailtester/health.svg)

```
[![Health](https://phpackages.com/badges/bnomei-kirby3-mailtester/health.svg)](https://phpackages.com/packages/bnomei-kirby3-mailtester)
```

###  Alternatives

[kirschbaum-development/mail-intercept

A test package for intercepting email sent from Laravel

112439.9k1](/packages/kirschbaum-development-mail-intercept)[fabianmichael/kirby-meta

Your all-in-one powerhouse for any SEO and metadata needs imaginable.

7011.5k1](/packages/fabianmichael-kirby-meta)[beebmx/kirby-courier

Courier offers a convenient and painless solution for creating emails tailored for your Kirby website.

403.8k3](/packages/beebmx-kirby-courier)[schnti/cachebuster

A plugin for Kirby 3 CMS to add modification timestamps to css and js files

108.6k1](/packages/schnti-cachebuster)[bnomei/kirby3-php-cachedriver

PHP based Cache-Driver

112.7k](/packages/bnomei-kirby3-php-cachedriver)

PHPackages © 2026

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