tagmydoc / leadfox-sdk-php
LeadFox PHP SDK
0.2.1
2023-10-18 14:29 UTC
Requires
- sammyjo20/saloon: ^2.6
README
A beautiful, extendable API powered by Saloon.
Installation
composer require tagmydoc/leadfox-sdk-php
Usage
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');
Credits
License
The MIT License (MIT). Please see License File for more information.