PHPackages                             maidmaid/zoho - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. maidmaid/zoho

ActiveLibrary[API Development](/categories/api)

maidmaid/zoho
=============

Zoho CRM client library

v0.3.0(8y ago)14.7k2mitPHPPHP &gt;=5.6

Since Feb 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/maidmaid/zoho)[ Packagist](https://packagist.org/packages/maidmaid/zoho)[ RSS](/packages/maidmaid-zoho/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Zoho
====

[](#zoho)

[Zoho](https://www.zoho.com) client library. Require PHP &gt;= 5.6.

[![Build Status](https://camo.githubusercontent.com/d46b6a92b5aa08a6287b8ef8d1537478f154e6a7f096a57c416e46bcd9b6e175/68747470733a2f2f7472617669732d63692e6f72672f6d6169646d6169642f7a6f686f2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/maidmaid/zoho)[![Latest Stable Version](https://camo.githubusercontent.com/1c62a1251adcca2aed62851d599b37d83e3ad782095e3c3f96353ed6e79c72a2/68747470733a2f2f706f7365722e707567782e6f72672f6d6169646d6169642f7a6f686f2f762f737461626c65)](https://packagist.org/packages/maidmaid/zoho)[![License](https://camo.githubusercontent.com/c8a438f92280da21a480fe75bd7a3e55056bf4a224f1ec0083f6c2fca722adb4/68747470733a2f2f706f7365722e707567782e6f72672f6d6169646d6169642f7a6f686f2f6c6963656e7365)](https://packagist.org/packages/maidmaid/zoho)

Installation
------------

[](#installation)

```
composer require maidmaid/zoho

```

Usage
-----

[](#usage)

### Constructor

[](#constructor)

```
use Maidmaid\Zoho\Client;

$client = new Client('your_authtoken');
```

See [Using Authentication Token](https://www.zoho.com/crm/help/api/using-authentication-token.html) in official doc for more infos.

### Insert records

[](#insert-records)

> To insert records into the required Zoho CRM module.

```
$records = $client->insertRecords($module = 'Contacts', $data = [
    10 => [
        'Last Name' => 'Holmes',
        'First Name' => 'Sherlock',
    ]
);
```

See [insertRecords Method](https://www.zoho.com/crm/help/api/insertrecords.html) in official doc for more infos.

### Update records

[](#update-records)

> To update or modify the records in Zoho CRM

```
$records = $client->updateRecords($module, $data = [
    10 => [
        'Id' => 'the_ID',
        'First Name' => 'Sherlock',
    ]
]);
```

See [updateRecords Method](https://www.zoho.com/crm/help/api/updaterecords.html) in official doc for more infos.

### Delete records

[](#delete-records)

> To delete the selected records.

```
$client->deleteRecords($module = 'Contacts', 'the_ID');
```

See [deleteMethod Method](https://www.zoho.com/crm/help/api/deleterecords.html) in official doc for more infos.

### Get record by ID

[](#get-record-by-id)

> To retrieve individual records by record ID

```
$records = $client->getRecordById($module = 'Contacts', ['the_ID_1', 'the_ID_2'])
```

See [getRecordById Method](https://www.zoho.com/crm/help/api/getrecordbyid.html) in official doc for more infos.

### Get records

[](#get-records)

> To retrieve all users data specified in the API request.

Fetch data from first page:

```
$records = $client->getRecords($module = 'Contacts')
```

Fetch data with pagination:

```
$page = 0;
while ($records = $client->getRecords($module = 'Contacts', ++$page)) {

}
```

See [getRecords Method](https://www.zoho.com/crm/help/api/getrecords.html) in official doc for more infos.

### Search records

[](#search-records)

> To retrieve the records that match your search criteria.

```
$records = $client->searchRecords($module = 'Contacts', $criteria = '(Last Name:Holmes)');
```

See [searchRecords Method](https://www.zoho.com/crm/help/api/searchrecords.html) in official doc for more infos.

### Get fields

[](#get-fields)

> To retrieve details of fields available in a module.

```
$fields = $client->getFields($module = 'Contacts');
```

See [getFields Method](https://www.zoho.com/crm/help/api/getfields.html) in official doc for more infos.

### Generic call

[](#generic-call)

```
$result = $client->call($module, $method, $params, $data)
```

### Check errors

[](#check-errors)

You can get last errors on failed process records:

```
$errors = $client->getLastErrors();
```

All calls thrown an exception if global response fails (e.g. if API key is wrong):

```
try {
    $results = $client->updateRecords('Contacts', $updates = []);
} catch (ZohoCRMException $e) {
}
```

Licence
-------

[](#licence)

Zoho client library is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~215 days

Total

3

Last Release

2998d ago

PHP version history (2 changes)v0.2.0PHP &gt;=5.5

v0.3.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4578773?v=4)[Dany Maillard](/maintainers/maidmaid)[@maidmaid](https://github.com/maidmaid)

---

Top Contributors

[![maidmaid](https://avatars.githubusercontent.com/u/4578773?v=4)](https://github.com/maidmaid "maidmaid (18 commits)")

---

Tags

phpphp-libraryzohozoho-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maidmaid-zoho/health.svg)

```
[![Health](https://phpackages.com/badges/maidmaid-zoho/health.svg)](https://phpackages.com/packages/maidmaid-zoho)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M724](/packages/sylius-sylius)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

68010.5M25](/packages/googleads-googleads-php-lib)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M406](/packages/drupal-core-recommended)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
