LeadFox PHP API
A beautiful, extendable API powered by Saloon.
composer require tagmydoc/leadfox-sdk-php
use TagMyDoc\LeadFox\LeadFoxClient;
$client = new LeadFoxClient('YOUR_API_KEY', 'YOUR_SECRET_KEY');
// Contacts API
$client->contacts()->all(email: 'example@example.com');
$client->contacts()->get('64400000f00000a0000fffff');
$client->contacts()->create('example@example.com', ['name' => 'John Smith']);
$client->contacts()->update('64400000f00000a0000fffff', ['name' => 'John Smith']);
$client->contacts()->upsert('example@example.com', ['name' => 'John Smith']);
$client->contacts()->delete('64400000f00000a0000fffff');
The MIT License (MIT). Please see License File for more information.