Download the PHP package kite/ohmyemma without Composer

On this page you can find all versions of the php package kite/ohmyemma. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package ohmyemma

OhMyEmma

OhMyEmma is a PHP library for interfacing with the Emma, 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: http://api.myemma.com/index.html. 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

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

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)

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

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' => '[email protected]',
            'fields' => array(
                'first_name' => 'Jacques',
                'last_name' => 'Woodcock'
            )
        );

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

        print_r($memberList);
    

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:


All versions of ohmyemma with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kite/ohmyemma contains the following files

Loading the files please wait ....