Option the lastest version of Elements PHP bindings with:
git clone http://git.livegamer.com/jared/elements-api.git
To get started, add the following to your PHP script:
require_once('/path/to/elements-api/lib/Elements.php');
Simple usage looks like:
Elements::setBaseUrl('https://url.to.elements');
Elements::setPartnerId('$partnerId');
Elements::setAppFamilyId('1111111111');
Elements::setAccessKey('AccessKey');
$customer = \Elements\User::findUserById($user_id);
In order to run tests you have to install SimpleTest.
Run test suite:
php ./test/tests.php