PHPackages                             kite/ohmyemma - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. kite/ohmyemma

ActiveLibrary[HTTP &amp; Networking](/categories/http)

kite/ohmyemma
=============

v1.3(9y ago)1062.7k10[3 issues](https://github.com/jwoodcock/OhMyEmma/issues)BSD-3-ClausePHPPHP &gt;=5.3.0

Since Mar 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jwoodcock/OhMyEmma)[ Packagist](https://packagist.org/packages/kite/ohmyemma)[ Docs](https://github.com/jwoodcock/OhMyEmma)[ RSS](/packages/kite-ohmyemma/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

OhMyEmma
========

[](#ohmyemma)

OhMyEmma is a PHP library for interfacing with the Emma, [www.myemma.com](http://www.myemma.com), API and requires an active API account\_id, public\_api\_key, and private\_api\_key.

This library is based off the API documentation published on March 05, 2013 and can be found at this URL: . Currently Emma does not have a method to inform users when the API is updated so this library will only be updated when users find a need or inform the authors of a change.

Additionally, to properly use this library it is best to read and understand the documentation for how filters, arrays and other parameters should be structured as this library is not intended to validate the data structures provided to it.

With that, we give you OhMyEmma

Installing
----------

[](#installing)

You have two options for using this library, clone this repo then move it to your desired location and second USE COMPOSER. So, USE COMPOSER. ;-)

    ```

        {
            "require": {
                "kite/ohmyemma": "1.*"
            }
        }

```

Usage
-----

[](#usage)

### Create an Instance

[](#create-an-instance)

Create a new instance by providing account credentials.

    ```

        $emma = new Emma(
            $account_id,
            $public_api_key,
            $private_api_key
        );

```

Available interfaces are: (case sensitive)

- Events
- Fields
- Groups
- Mailings
- Members
- Response
- Searches
- Triggers
- Webhooks

Each interface has their unique set of methods. It's best to at least read through those files. These interfaces are saved as an object within the main OhMyEmma object.

### Usage of the Control Object

[](#usage-of-the-control-object)

Here is an example of using the members interface to add a new member and then retreave an updated list of members.

    ```

        $emma = new Emma(
            $account_id,
            $public_api_key,
            $private_api_key,
        );

        $newUser = array(
            'email' => 'notso@fast.com',
            'fields' => array(
                'first_name' => 'Jacques',
                'last_name' => 'Woodcock'
            )
        );

        $emma->Members->updateAddMember($newUser);
        $memberList = $emma->Members->getMembers();

        print_r($memberList);

```

License
-------

[](#license)

Copyright (c) 2013, Kite, Inc All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 84% 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 ~671 days

Total

3

Last Release

3479d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/72dd444241273deae6f5aadeeeb6c25e4b92e9648ab8b5d6ddb8cd502671480c?d=identicon)[jwoodcock](/maintainers/jwoodcock)

---

Top Contributors

[![jwoodcock](https://avatars.githubusercontent.com/u/1666983?v=4)](https://github.com/jwoodcock "jwoodcock (63 commits)")[![egdelwonk](https://avatars.githubusercontent.com/u/512548?v=4)](https://github.com/egdelwonk "egdelwonk (6 commits)")[![crankeye](https://avatars.githubusercontent.com/u/588934?v=4)](https://github.com/crankeye "crankeye (4 commits)")[![craigts](https://avatars.githubusercontent.com/u/100069?v=4)](https://github.com/craigts "craigts (1 commits)")[![eblount](https://avatars.githubusercontent.com/u/1424719?v=4)](https://github.com/eblount "eblount (1 commits)")

---

Tags

httpcurl

### Embed Badge

![Health badge](/badges/kite-ohmyemma/health.svg)

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

###  Alternatives

[rmccue/requests

A HTTP library written in PHP, for human beings.

3.6k34.5M258](/packages/rmccue-requests)[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.2M267](/packages/nategood-httpful)[mashape/unirest-php

Unirest PHP

1.3k9.7M161](/packages/mashape-unirest-php)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)[pear/http_request2

Provides an easy way to perform HTTP requests.

764.2M48](/packages/pear-http-request2)

PHPackages © 2026

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