Client SDK for the LeadFerret API - written in PHP. Allows you to work with the LeadFerret End-User API.
For now just check out the repo from git. Later we will add it to packagyst so you can composify it.
git clone https://github.com/leadferret/LeadFerret-API-PHP-SDK.git
This library is in sub-Alpha state. Contact us if you wish to have more details. If you wish to work on this or add features please fork it and send a pull request.
Make sure you set up your .env file properly. This client uses DotEnv to handle the environment and config items.
This distribution comes with an example config .env.example
and inside this file are some of the environment variables that should be used to set up the application.
Please note documentation found at apiary.io
See the examples/ directory for examples of the key client features.
<?php
include_once '../bootstrap.php';
use LeadFerret\LFClient;
$client = new LFClient();
$token = $client->authenticate();
echo $token;