Skip to content

Heyloyalty/HL-phpclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Climate codecov

HL-phpclient

Php client for heyloyalty api.

The client also has methods for using reseller endpoints, how to become a reseller Accounts Account users

This client contains all methods for interacting with Heyloyalty api.

Installation

The recommended way to install HL-phpclient is through Composer

composer require heyloyalty/hl-phpclient

Simple example

Api key and secret are required from your Heyloyalty account

use Phpclient\HLMembers;
use Phpclient\HLClient;

$client = new HLClient('your-api-key','your-api-secret');
$memberService = new HLMembers($client);
$listId = 12;
$members = $memberService->getMembers($listId);
var_dump($members);

Further documentation

Look at the code examples in the examples folder