PHPackages                             judicialcouncil/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. judicialcouncil/emma

ActiveLibrary[API Development](/categories/api)

judicialcouncil/emma
====================

A PHP Wrapper for the Emma API

4.0.4(5y ago)0281.6k↓39.9%MITPHPPHP &gt;=5.3.0CI failing

Since Nov 27Pushed 5y agoCompare

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

READMEChangelog (5)Dependencies (1)Versions (9)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

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 55.3% 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 ~257 days

Recently: every ~0 days

Total

8

Last Release

2075d ago

Major Versions

v2.0.0 → v3.0.02017-04-26

v3.0.1 → 4.0.02020-10-28

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/57116778?v=4)[Judicial Council of California](/maintainers/judicialcouncil)[@JudicialCouncil](https://github.com/JudicialCouncil)

---

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)")[![baptisten](https://avatars.githubusercontent.com/u/3468713?v=4)](https://github.com/baptisten "baptisten (5 commits)")[![josephdpurcell](https://avatars.githubusercontent.com/u/778111?v=4)](https://github.com/josephdpurcell "josephdpurcell (5 commits)")[![ivanbueno-jcc](https://avatars.githubusercontent.com/u/56043671?v=4)](https://github.com/ivanbueno-jcc "ivanbueno-jcc (1 commits)")

---

Tags

Emma

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/judicialcouncil-emma/health.svg)](https://phpackages.com/packages/judicialcouncil-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)
