Skip to content

jaythegeek/zoho-crm-client-php

 
 

Repository files navigation

Zoho CRM Client for PHP

Build Status Latest Stable Version License
Provides a clean readable PHP API to the Zoho Rest API.
This project was initially cloned from this repository and improved with:

  • New methods
  • More features
  • Friendly documentation

Prerequisites

  • PHP 5.3 or above
  • CURL

Easy Installation

To install with Composer, simply require the latest version of this package.

composer require cristianpontes/zoho-crm-client-php

Make sure that the autoload file from Composer is loaded.

// somewhere early in your project's loading, require the Composer autoloader
// see: http://getcomposer.org/doc/00-intro.md
require 'vendor/autoload.php';

Usage Sample

use CristianPontes\ZohoCRMClient\ZohoCRMClient;

$client = new ZohoCRMClient('Leads', 'yourAuthToken');

$records = $client->getRecords()
    ->selectColumns('First Name', 'Last Name', 'Email')
    ->sortBy('Last Name')->sortAsc()
    ->since(date_create('last week'))
    ->request();

// Just for debug
echo "<pre>";
print_r($records);
echo "</pre>";

Available Methods

  • getRecords
  • insertRecords
  • updateRecords
  • deleteRecords
  • getDeletedRecordIds
  • getRelatedRecords
  • getRecordById
  • searchRecords
  • getSearchRecordsByPDC
  • uploadFile
  • downloadFile
  • deleteFile
  • getFields
  • convertLead
  • updateRelatedRecords

Documentation

All the methods previously mentioned are well explained in the library documentation page.
Also, the code is well documented too, so you'll be able to look at the methods, functions and check how they work.

About

Provides a clean readable PHP API to the Zoho Rest API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%