PHPackages                             zohocrm/php-sdk-8.0 - 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. zohocrm/php-sdk-8.0

ActiveSdk[API Development](/categories/api)

zohocrm/php-sdk-8.0
===================

Zoho CRM API SDK for PHP

5.0.0(6mo ago)337.7k↓29.4%6[4 PRs](https://github.com/zoho/zohocrm-php-sdk-8.0/pulls)2Apache-2.0PHPPHP &gt;=7.1

Since Feb 14Pushed 4mo agoCompare

[ Source](https://github.com/zoho/zohocrm-php-sdk-8.0)[ Packagist](https://packagist.org/packages/zohocrm/php-sdk-8.0)[ Docs](https://github.com/zoho/zohocrm-php-sdk-8.0)[ RSS](/packages/zohocrm-php-sdk-80/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (2)

ZOHO CRM PHP SDK 8.0 for API version 8
======================================

[](#zoho-crm-php-sdk-80-for-api-version-8)

The PHP SDK for Zoho CRM allows developers to easily create client PHP applications that can be integrated with Zoho CRM. This SDK serves as a wrapper for the REST APIs, making it easier to access and utilize the services of Zoho CRM. Authentication to access the CRM APIs is done through OAuth2.0, and the authentication process is streamlined through the use of the PHP SDK. The grant and access/refresh tokens are generated and managed within the SDK code, eliminating the need for manual handling during data synchronization between Zoho CRM and the client application.

This repository includes the PHP SDK for API v8 of Zoho CRM. Check [Versions](https://github.com/zoho/zohocrm-php-sdk-8.0/releases) for more details on the versions of SDK released for this API version.

License
=======

[](#license)

```
Copyright (c) 2021, ZOHO CORPORATION PRIVATE LIMITED
All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

```

Latest Version
--------------

[](#latest-version)

- [5.0.0](/versions/5.0.0/README.md)

    - Improved DB store query handling.
    - Fixed an issue with the Blueprint update API response.
    - Blueprint Field class `validationRule` field datatype changed (String to Object).
    - BulkWrite `BodyWrapper` class `fileType` field datatype changed (Choice to String).
    - BulkWrite `JobDetail` class `fileType` field datatype changed (Choice to String).
    - BulkRead `Query` class `fileType` field datatype changed (Choice to String).
    - Modules `GetModulesParam` class `STATUS` field datatype changed (Choice to String).
    - Added new `trigger` field in Notes `BodyWrapper` class.
    - Notifications class `deleteEvents` field datatype changed (Choice to String).
    - Modules `DeleteNotificationParam` class `CHANNEL_IDS` field datatype changed (Long to String).
    - Profiles and `MinifiedProfile` class `delete` field datatype changed (Boolean to `Delete` class).
    - Added new `applyFeatureExecution`, `applyValidationRule`, `applyFunctionValidationRule`, and `skipFeatureExecution` fields in Record `BodyWrapper` class.
    - Tags class `colorCode` field datatype changed (Choice to String).
    - Users `CountWrapper` class `count` field datatype changed (Long to Integer).
    - Users `GetUsersParam` class `TYPE` field datatype changed (Choice to String).
    - Webforms `Abtesting` class `id` field datatype changed (Long to String).
    - Webforms `AcknowledgeVisitor` class `templateId` field datatype changed (Long to String).
    - Webforms `AssignmentRule` class `id` field datatype changed (Long to String).
    - Webforms `Layout` class `id` field datatype changed (Long to String).
    - Webforms `Module` class `id` field datatype changed (Long to String).
    - Webforms `Owner` class `id` field datatype changed (Long to String).
    - Webforms `Tags` class `id` field datatype changed (Long to String).
    - Webforms `Users` class `id` field datatype changed (Long to String).
    - Webforms `Users` `acknowledgeVisitor` field datatype changed (AcknowledgeVisitors to AcknowledgeVisitor).
    - Removed `updateWebForms` method from the `WebformsOperations` class.
- [4.0.0](/versions/4.0.0/README.md)

    - Handled null values in \_delete fields in the API.
- [3.0.0](/versions/3.0.0/README.md)

    - Handled integer values in JSONConverter class to ensure proper parsing and conversion.
- [2.1.0](/versions/2.1.0/README.md)

    - ***trigger*** field has been added to the Notes API.
- [2.0.0](/versions/2.0.0/README.md)

    - New fields have been added to the History Tracking Fields API.
    - Fixed the issue with the inventory mass conversion status API.
- [1.0.0](/versions/1.0.0/README.md)

    - PHP SDK upgraded to support v8 APIs.
    - PHP SDK improved to support the following new APIs

        - [Get Related Records Count of a Record](https://www.zoho.com/crm/developer/docs/api/v8/get-related-records-count.html)
        - [Calls Preference](https://www.zoho.com/crm/developer/docs/api/v8/get-calls-preferences.html)
        - [Record-Level Sharing of Emails](https://www.zoho.com/crm/developer/docs/api/v8/share-emails.html)
        - [Data Sharing Rules API](https://www.zoho.com/crm/developer/docs/api/v8/data-sharing-rules.html)
        - [Get Rich Text Fields API](https://www.zoho.com/crm/developer/docs/api/v8/get-rich-text-fields.html)

For older versions, please [refer](https://github.com/zoho/zohocrm-php-sdk-8.0/releases).

Including the SDK in your project
---------------------------------

[](#including-the-sdk-in-your-project)

You can include the SDK to your project using Composer. For installing the latest [version](https://github.com/zoho/zohocrm-php-sdk-8.0/releases/tag/4.0.0) of PHP SDK, navigate to the workspace of your client app and run the following command.

```
composer require zohocrm/php-sdk-8.0:4.0.0
```

With this, the PHP SDK will be installed and a package named vendor will be created in the workspace of your client app.

---

**NOTE**

> - The **access and refresh tokens are environment-specific and domain-specific**. When you handle various environments and domains such as **Production**, **Sandbox**, or **Developer** and **IN**, **CN**, **US**, **EU**, **JP**, **CA**, or **AU**, respectively, you must use the access token and refresh token generated only in those respective environments and domains. The SDK throws an error, otherwise. For example, if you generate the tokens for your Sandbox environment in the CN domain, you must use only those tokens for that domain and environment. You cannot use the tokens generated for a different environment or a domain.

> - For **Deal Contact Roles API and Records API**, you will need to provide the **ZohoCRM.settings.fields.ALL** scope along with the **ZohoCRM.modules.ALL** scope while generating the OAuthtoken. Otherwise, the system returns the **OAUTH-SCOPE-MISMATCH** error.

> - For **Related Records API**, the scopes required for generating OAuthtoken are **ZohoCRM.modules.ALL**, **ZohoCRM.settings.fields.ALL** and **ZohoCRM.settings.related\_lists.ALL**. Otherwise, the system returns the **OAUTH-SCOPE-MISMATCH** error.

> - For **Mass Convert API**, you will need to provide the **ZohoCRM.settings.fields.ALL** scope along with the **ZohoCRM.mass\_convert.leads.CREATE** and **ZohoCRM.mass\_convert.leads.READ** scope while generating the OAuthtoken. Otherwise, the system returns the **OAUTH-SCOPE-MISMATCH** error.

---

For more details, kindly refer here. [here](/versions/4.0.0/README.md).

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance72

Regular maintenance activity

Popularity36

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 96.3% 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 ~63 days

Recently: every ~72 days

Total

6

Last Release

189d ago

Major Versions

1.0.0 → 2.0.02025-03-12

2.1.0 → 3.0.02025-09-16

3.0.0 → 4.0.02025-10-01

4.0.0 → 5.0.02025-12-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdb5658cb33a8bba60caabda80ce2d2770648f6eb2d51414342a72fef96a8db5?d=identicon)[zohocrm-api-team](/maintainers/zohocrm-api-team)

---

Top Contributors

[![raja-k-7453](https://avatars.githubusercontent.com/u/45655127?v=4)](https://github.com/raja-k-7453 "raja-k-7453 (26 commits)")[![cloudnotify](https://avatars.githubusercontent.com/u/43980484?v=4)](https://github.com/cloudnotify "cloudnotify (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zohocrm-php-sdk-80/health.svg)

```
[![Health](https://phpackages.com/badges/zohocrm-php-sdk-80/health.svg)](https://phpackages.com/packages/zohocrm-php-sdk-80)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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