ems-api/php-client

Email Marketing Software library for PHP

Maintainers

Package info

github.com/ems-api/php-client

pkg:composer/ems-api/php-client

Transparency log

Statistics

Installs: 87 703

Dependents: 0

Suggesters: 0

Stars: 15

Open Issues: 0

v2.0.0 2026-08-04 06:44 UTC

This package is auto-updated.

Last update: 2026-08-04 06:45:05 UTC


README

This is the PHP Client for MailWizz's API.

Install

Get started by installing it via composer as follows:
composer require ems-api/php-client

Then follow the instructions from example/setup.php file.

Requirements

  • PHP 8.2 or newer
  • ext-curl
  • ext-json

If you want to use the in-memory cache adapter, install ext-apcu. The legacy XCache adapter is no longer supported.

Test

Following environment variables have to be set, with their proper values:
EMS_API_URL
EMS_API_KEY

Then you can run the tests:

$ composer test

The API-backed endpoint tests are kept separately because they require a real MailWizz API URL and key:

$ composer test-integration

Development

The 2.x branch targets PHP 8.2+ and includes the following maintenance commands:

$ composer analyse
$ composer refactor-dry-run
$ composer refactor