PHPackages                             jimderonde/wp-mailer - 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. jimderonde/wp-mailer

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

jimderonde/wp-mailer
====================

Composer package for Gewest13's Wordpress mailer.

2.4.0(7mo ago)1309[1 PRs](https://github.com/Gewest13/wp-mailer/pulls)MITPHP

Since Aug 30Pushed 7mo agoCompare

[ Source](https://github.com/Gewest13/wp-mailer)[ Packagist](https://packagist.org/packages/jimderonde/wp-mailer)[ RSS](/packages/jimderonde-wp-mailer/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (2)Versions (37)Used By (0)

Wordpress Mailer
================

[](#wordpress-mailer)

This is a Wordpress module developed by Jim de Ronde ([Gewest13](https://www.gewest13.nl)).

Prerequisites
-------------

[](#prerequisites)

- ACF Pro

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

[](#installation)

Do this first.

1. Clone the repository in your `server/` directory.
2. Do a `composer install` inside the folder.
3. Require or include the `server/wp-mailer/autoload.php` into your `functions.php` file.
4. Please note that a hook within Wordpress is including a javascript file into the footer. Import it as you like whenever you desire a bundle over multiple javascript files.

When this is done a first form can be added.

5. Create a `.env` file in the root of your template folder with the credentials as presented in the example file `.example.env`.
6. Create a new form and add any field to your liking.
7. Add the `/sample-component/` to your list of components/. Please note that the form will require some predefined settings like an `action`, `data-wp-mailer` and `method`.
8. At last, please include `wp_footer()` before the ending of your `` tag. Please not that the entire function will be cleared and will only return the javascript file that will take care of the asynchronous requests.
9. If desired, add the following rule to your `.css` file in order to hide the badge: `.grecaptcha-badge {display: none}`

### Environment variables

[](#environment-variables)

- `MAIL_FROM_EMAIL` lets you override the sender email used when dispatching messages (useful when your SMTP provider requires a specific from address such as Resend). When not set, the SMTP username is used as the sender while replies continue to go to the original form email when different.
- `RECAPTCHA_MIN_SCORE` allows you to configure the minimum acceptable reCAPTCHA v3 score (defaults to `0.5`).

Functions
---------

[](#functions)

Always check if `$mailer` is a valid instance of the `Mailer` class.

1. Use `$mailer->getForm($id)` to get all form fields.
2. Then, use a `foreach` loop to loop through all fields. `foreach ($mailer->getForm($id) as $name => $field)`.
3. Inside the loop the `$field->field` variable will contain the entire html element so use `$mailer->parseField($field->field, "classes")` to parse it.
4. Label can be accessed through `$field->label`.
5. Name can be accessed through `$field->name`.
6. Field type can be accessed through `$field->type`.

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance65

Regular maintenance activity

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 74% 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 ~73 days

Recently: every ~11 days

Total

32

Last Release

214d ago

Major Versions

1.3.45 → 2.0.02020-02-18

### Community

Maintainers

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

---

Top Contributors

[![jrtderonde](https://avatars.githubusercontent.com/u/35485640?v=4)](https://github.com/jrtderonde "jrtderonde (97 commits)")[![rubenvangrins](https://avatars.githubusercontent.com/u/28401178?v=4)](https://github.com/rubenvangrins "rubenvangrins (26 commits)")[![nielsreijnders](https://avatars.githubusercontent.com/u/36259700?v=4)](https://github.com/nielsreijnders "nielsreijnders (7 commits)")[![rluijten](https://avatars.githubusercontent.com/u/8789700?v=4)](https://github.com/rluijten "rluijten (1 commits)")

### Embed Badge

![Health badge](/badges/jimderonde-wp-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/jimderonde-wp-mailer/health.svg)](https://phpackages.com/packages/jimderonde-wp-mailer)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[saithink/saiadmin

webman plugin

28111.0k1](/packages/saithink-saiadmin)[doppar/framework

The Doppar Framework

4011.2k14](/packages/doppar-framework)

PHPackages © 2026

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