Skip to content

aurian/zoho-crm-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

196 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoho CRM API wrapper library (PHP)

This is an API wrapper library for Zoho CRM, written in PHP.

It aims to cover the whole API (every module and method), while providing a great abstraction and very easy-to-use methods.

Requirements

  • PHP : 7.1+
  • PHP cURL extension enabled

Installation

The recommended way to install this package is through Composer.

Edit your composer.json file:

"require": {
    "tristanjahier/zoho-crm-php": "^0.3"
}

or simply run this command:

composer require tristanjahier/zoho-crm-php

Get started

This package is currently at an early development stage. Full documentation will come when it is stable enough.

A quick example

// Create a Zoho client
$zoho = new Zoho\Crm\Client('MY_ZOHO_AUTH_TOKEN');

// Use its supported modules to make easy queries...
$one_lead = $zoho->leads->find('1212717324723478324');
$many_leads = $zoho->leads->findMany(['8734873457834574028', '3274736297894375750']);
$all_potentials = $zoho->potentials->all()->get();
$admins = $zoho->users->admins()->get();

// ...or build them manually
$response = $zoho->newQuery('Module', 'method', ['a_parameter' => 'blablebloblu'])->execute();
$records = $response->toEntityCollection();

About

An API wrapper library for Zoho CRM, written in PHP.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%