This is an implementation of Mailman 3 API with PHP.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-28 10:18:37 +02:00
src Fixed deprecation. 2026-06-28 14:56:10 +02:00
.gitignore First version with a minimal API support to manage list members. 2026-06-28 02:20:07 +02:00
composer.json refs #1: Updating iwalkalone/curl to v1.3 2026-07-28 10:18:37 +02:00
README.md Update README.md 2026-06-28 23:55:55 +02:00

Mailman 3 API

Description

It implements Mailman 3 API. Currently supports:

  • Get a list of domains
  • Get a list of mailing lists (all domains or a single domain)
  • Get a list of members of a mailing list
  • Get a single member of a mailing list
  • Adding a new member to a mailing list
  • Removing a member from a mailing list

Install

Install with composer:

composer require iwalkalone/mailman-api

Or a specific version:

composer require iwalkalone/mailman-api ^1.0

How to use it

$mailman = new \iwalkalone\Mailman3API('127.0.0.1', '8001', 'user', 'password');
$domains = $mailman->getDomains();
print_r($domains);