PHPackages                             markroland/emma - 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. [API Development](/categories/api)
4. /
5. markroland/emma

AbandonedArchivedLibrary[API Development](/categories/api)

markroland/emma
===============

A PHP Wrapper for the Emma API

v3.0.1(9y ago)9366.2k↓38.8%9MITPHPPHP &gt;=5.3.0

Since Nov 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/markroland/emma)[ Packagist](https://packagist.org/packages/markroland/emma)[ Docs](https://github.com/markroland/emma)[ RSS](/packages/markroland-emma/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Emma
====

[](#emma)

Emma is a PHP class for interaction with the [Emma API](http://api.myemma.com).

```
Copyright (c) 2012-2015 Mark Roland.
Written by Mark Roland
Released under the MIT license.

```

This PHP class may be distributed and used for free. The author makes no guarantee for this software and offers no support.

Build status: [![Build Status](https://camo.githubusercontent.com/e6d9c652c7c9216cdb5cc6a801f4f381510c1c57f188fba67e0bf6b83407bc8f/68747470733a2f2f7472617669732d63692e6f72672f6d61726b726f6c616e642f656d6d612e737667)](https://travis-ci.org/markroland/emma)

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

[](#installation)

```
    composer require markroland/emma ^3.0
```

Usage
-----

[](#usage)

To get started, initialize the Emma class as follows:

```
    use MarkRoland\Emma\Client;

    $emma = new Client(, , );
```

For example,

```
    use MarkRoland\Emma\Client;

    $emma = new Client('1234','Drivorj7QueckLeuk','WoghtepheecijnibV');
```

The [tests](https://github.com/markroland/emma/blob/master/tests) folder in this package contains some test scripts that can be run to see how Emma Client class may be used.

Also look in the [examples](https://github.com/markroland/emma/blob/master/examples/) folder for code examples for:

- [fields](https://github.com/markroland/emma/blob/master/examples/fields.php)
- [groups](https://github.com/markroland/emma/blob/master/examples/groups.php)
- [mailing](https://github.com/markroland/emma/blob/master/examples/mailing.php)
- [members](https://github.com/markroland/emma/blob/master/examples/members.php)
- [response](https://github.com/markroland/emma/blob/master/examples/response.php)
- [searches](https://github.com/markroland/emma/blob/master/examples/searches.php)
- [triggers](https://github.com/markroland/emma/blob/master/examples/triggers.php)
- [webhooks](https://github.com/markroland/emma/blob/master/examples/webhooks.php)

In order to understand how to use this script, please make sure you have a good understanding of the Emma API:

Build
=====

[](#build)

Build using Phing
-----------------

[](#build-using-phing)

```
    phing
```

```
    phing phpdoc
```

```
    phing phpcs
```

PHPUnit
-------

[](#phpunit)

```
    phpunit --bootstrap tests/bootstrap.php tests
```

Code Coverage
-------------

[](#code-coverage)

```
    phpunit --coverage-html ./report ./tests
```

PHP Documentation
-----------------

[](#php-documentation)

PHP Documentation is compiled using [phpDocumentor](http://www.phpdoc.org), which is assumed to be installed globally on the server. It uses phpdoc.dist.xml for runtime configuration.

```
    phpdoc
```

Code Sniff
----------

[](#code-sniff)

```
    phpcs -n --report-width=100 ./src/Emma.php
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 65.6% 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 ~258 days

Total

3

Last Release

3356d ago

Major Versions

v2.0.0 → v3.0.02017-04-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/5564589abf5b6f464cbc2f153e007f0b624809057a644d17da3c92fbc206d918?d=identicon)[markroland](/maintainers/markroland)

---

Top Contributors

[![markroland](https://avatars.githubusercontent.com/u/1097919?v=4)](https://github.com/markroland "markroland (21 commits)")[![ericdowell](https://avatars.githubusercontent.com/u/525506?v=4)](https://github.com/ericdowell "ericdowell (6 commits)")[![josephdpurcell](https://avatars.githubusercontent.com/u/778111?v=4)](https://github.com/josephdpurcell "josephdpurcell (5 commits)")

---

Tags

Emma

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/markroland-emma/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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