PHPackages                             splattner/mailmanapi - 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. splattner/mailmanapi

ActiveLibrary

splattner/mailmanapi
====================

A simple API to work with Mailman 2.x Mailing Lists

1.2.0(7y ago)667410[2 issues](https://github.com/splattner/mailmanAPI/issues)[2 PRs](https://github.com/splattner/mailmanAPI/pulls)MITPHP

Since Oct 19Pushed 3d ago1 watchersCompare

[ Source](https://github.com/splattner/mailmanAPI)[ Packagist](https://packagist.org/packages/splattner/mailmanapi)[ Docs](https://github.com/splattner/mailmanAPI)[ RSS](/packages/splattner-mailmanapi/feed)WikiDiscussions master Synced today

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

mailmanAPI
==========

[](#mailmanapi)

A Simple PHP API to work with Mailman 2.x Mailinglists

As Mailman 2.x seems not to offer a proper API, this Mailman API provides some basic functionality to work with Mailman. Be aware, the library only wrappes around the HTML Forms of the Mailman API Site. It parses the HTTP Responses &amp; HTML Pages, for Authentication Cookies, CSRF TOKEN and then posts to the FORM action url.

Testes with Mailman 2.1.20, no guarantee to work with other versions.

Features
--------

[](#features)

- Get all Members of a Maillist
- Add Members to a Maillist
- Remove Members from a Maillist
- Change Address of a Member

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

[](#requirements)

- Socket enabled or curl extension installed
- PHP 5.3+

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

[](#installation)

```
composer require splattner/mailmanapi:^1.2

```

Usage
-----

[](#usage)

You need the URL for your Mailman Mailist e.g. http://{{domain}}/mailman/admin/{{maillistName}} and your Administration Password for the Maillist.

- [Get All Members](#get-all-members)
- [Add Members](#add-members)
- [Remove Members](#remove-members)
- [Change Members](#change-member)

### Get All Members

[](#get-all-members)

```
$mailman = new MailmanAPI($mailManBaseURL,$adminPW);
$allMembers = $mailman->getMemberlist();

```

### Add Members

[](#add-members)

```
$mailman = new MailmanAPI($mailManBaseURL,$adminPW);
$mailman->addMembers(["member1@domain.com","member2@domain.com"]);

```

### Remove Members

[](#remove-members)

```
$mailman = new MailmanAPI($mailManBaseURL,$adminPW);
$mailman->removeMembers(["member1@domain.com","member2@domain.com"]);

```

### Change Member

[](#change-member)

```
$mailman = new MailmanAPI($mailManBaseURL,$adminPW);
$mailman->changeMember("memberold@domain.com","membernew@domain.com");

```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance58

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 58.8% 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 ~78 days

Total

5

Last Release

2761d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9871afb47e7f09622bbba615e1ee259cde6b2a8581b8ad0657e7d69741055fb1?d=identicon)[splattner](/maintainers/splattner)

---

Top Contributors

[![splattner](https://avatars.githubusercontent.com/u/3875381?v=4)](https://github.com/splattner "splattner (10 commits)")[![thiagogomesverissimo](https://avatars.githubusercontent.com/u/908508?v=4)](https://github.com/thiagogomesverissimo "thiagogomesverissimo (6 commits)")[![miclf](https://avatars.githubusercontent.com/u/3188746?v=4)](https://github.com/miclf "miclf (1 commits)")

### Embed Badge

![Health badge](/badges/splattner-mailmanapi/health.svg)

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

###  Alternatives

[lochmueller/seocli

SEO CLI Tool

1013.4k](/packages/lochmueller-seocli)

PHPackages © 2026

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