2017 © Pedro Peláez
 

library elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

image

tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  • Thursday, June 1, 2017
  • by iamEAP
  • Repository
  • 8 Watchers
  • 18 Stars
  • 7,333 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 8 Forks
  • 10 Open issues
  • 14 Versions
  • 31 % Grown

The README.md

Elomentary Build Status Code Climate Test Coverage Dependency Status

The simple, objected oriented wrapper for the Eloqua REST API., (*1)

Features

  • Follows PSR-4 conventions for friendly autoloading
  • Extensively tested and documented

Requirements

  • PHP >= 5.3.3 with cURL,
  • Guzzle library,
  • For developing and contributing: PHPUnit.

Installation

The best way to install Elomentary is via git and Composer!, (*2)

Composer is a dependency manager for PHP. The easiest way to install Composer for *nix (including Mac):, (*3)

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

More detailed installation instructions for multiple platforms can be found in the Composer Documentation., (*4)

Normal installation

# Download Elomentary
git clone https://github.com/tableau-mkt/elomentary.git elomentary
# Download dependencies
cd elomentary
composer update --no-dev

That's it! If you ever need to update Elomentary, just use the following commands:, (*5)

# Update Elomentary
cd /path/to/elomentary
git pull
# Update Elomentary dependencies
composer update --no-dev

Development installation

If you want to contribute to Elomentary development, you'll want to download the dependencies for performing unit tests as well., (*6)

# Make a projects directory if it doesn't already exist.
mkdir -p $HOME/libs
# Download Elomentary and development dependencies.
git clone https://github.com/tableau-mkt/elomentary.git $HOME/libs/elomentary
# Download dependencies.
composer update --working-dir $HOME/libs/elomentary

Autoloading

In day-to-day projects, you may want to require Elomentary using Composer's autoloader. You can add a requirement like so:, (*7)

{
  "require": {
    "tableau-mkt/elomentary": "*"
  },
  "minimum-stability": "dev"
}

Basic usage

<?php

// This file is generated by Composer
require_once 'vendor/autoload.php';

$client = new \Eloqua\Client();
$client->authenticate('MySite', 'My.User', 'BatteryHorseStaple');
$contacts = $client->api('contacts')->search('*@example.com');

From $client, you can access all implemented Eloqua API services., (*8)

Documentation

Detailed documentation is available in doc, located here., (*9)

The Versions

01/06 2017

dev-master

9999999-dev https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

24/09 2016

0.4.x-dev

0.4.9999999.9999999-dev https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

24/09 2016

0.4.1

0.4.1.0 https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

24/09 2016

0.5.x-dev

0.5.9999999.9999999-dev https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

24/09 2016

0.5.1

0.5.1.0 https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

26/05 2016

0.5.0

0.5.0.0 https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

04/01 2016

0.4.0

0.4.0.0 https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

24/10 2014

0.3.x-dev

0.3.9999999.9999999-dev https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

24/10 2014

0.3.0

0.3.0.0 https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

11/08 2014

0.2.x-dev

0.2.9999999.9999999-dev https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

11/08 2014

0.2.0

0.2.0.0 https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

15/07 2014

0.1.x-dev

0.1.9999999.9999999-dev https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

15/07 2014

0.1.1

0.1.1.0 https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua

04/07 2014

0.1.0

0.1.0.0 https://github.com/tableau-mkt/elomentary

The simple PHP Eloqua REST API client; object oriented, tested, and documented for PHP 5.3+.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Gary Gao

api rest eloqua