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

ActiveSdk

zohocrm/php-sdk-6.0
===================

Zoho CRM API SDK for PHP

8.1.0(1y ago)130.2k↓30.2%22Apache-2.0PHPPHP &gt;=7.0

Since Dec 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/zoho/zohocrm-php-sdk-6.0)[ Packagist](https://packagist.org/packages/zohocrm/php-sdk-6.0)[ Docs](https://github.com/zoho/zohocrm-php-sdk-6.0)[ RSS](/packages/zohocrm-php-sdk-60/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (1)Versions (11)Used By (2)

Zoho CRM PHP SDK 6.0
====================

[](#zoho-crm-php-sdk-60)

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 v6 of Zoho CRM. Check [Versions](https://github.com/zoho/zohocrm-php-sdk-6.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)

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

    - FileStore class issue fixed.
- [8.0.0](/versions/8.0.0/README.md)

    - Handled FileStore save and update token method issue.
    - Update CADataCenter Accounts URL.
- [7.0.0](/versions/7.0.0/README.md)

    - Handled SDKException error message.
- [6.0.0](/versions/6.0.0/README.md)

    - Handled API operation timeout error.
- [5.0.0](/versions/5.0.0/README.md)

    - Handled Record `rollup_summary` datatype.
- [4.0.0](/versions/4.0.0/README.md)

    - Supported multiple field update operations in the FieldsOperations class.
- [3.0.0](/versions/3.0.0/README.md)

    - Blueprint Transition ***percentPartialSave*** field datatype changed(Integer to float).
    - Blueprint Field ***convertMapping*** field datatype changed(ConvertMapping to array).
    - Added new ***id*** and ***name*** param in GetDownloadAttachmentsDetailsParam class.
    - Added new ***type*** and ***ownerId*** param in EmailRelatedRecordsOperations class constructor.
    - Handled Record Field API Name and datatype.
    - Added new fields (createdTimeS, modifiedTimeS, createdByS, ownerS, and modifiedByS) in Record FileDetails class.
    - Record ***multi\_user\_lookup*** type fields datatype changed(array of MinifiedUser to array of Record).
- [2.0.0](/versions/2.0.0/README.md)

    - Added new ***moveAttachmentsTo*** field in LeadConverter class.
    - Added new ***subCategory*** field in EmailRelatedRecords Status class.
    - Added new ***availableCount*** field in Features Detail class.
    - Changed ***tabTraversal*** field datatype in Layouts Sections.
    - CustomViews ***favorite*** field datatype changed (bool to int).
    - Support for the following new APIs.
        - ***CustomViews***
            - [Change Sort Order of Custom Views](https://www.zoho.com/crm/developer/docs/api/v6/sort-order-cv.html)
        - ***Users***
            - [Users Count](https://www.zoho.com/crm/developer/docs/api/v6/users-count.html)
        - ***Features***
            - [User Licences Count](https://www.zoho.com/crm/developer/docs/api/v6/get-user-licences.html)
- [1.0.0](/versions/1.0.0/README.md)

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

        - [Unsubscribe Links](https://www.zoho.com/crm/developer/docs/api/v6/get-unsubscribe-links.html)
        - [Find and Merge API](https://www.zoho.com/crm/developer/docs/api/v6/merge-records.html)
        - [Get Related Records of Deleted Record API](https://www.zoho.com/crm/developer/docs/api/v6/get-related-records-of-deleted-record.html)
        - [Features API](https://www.zoho.com/crm/developer/docs/api/v6/get-features.html)
        - [Global Picklist API](https://www.zoho.com/crm/developer/docs/api/v6/get-global-picklist.html)
        - [Unblock Email API](https://www.zoho.com/crm/developer/docs/api/v6/unblock-emails.html)

For older versions, please [refer](https://github.com/zoho/zohocrm-php-sdk-6.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-6.0/releases/tag/8.1.0) of PHP SDK, navigate to the workspace of your client app and run the following command.

```
composer require zohocrm/php-sdk-6.0:8.1.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/8.1.0/README.md).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance40

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

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 ~47 days

Recently: every ~39 days

Total

9

Last Release

503d ago

Major Versions

3.0.0 → 4.0.02024-07-02

4.0.0 → 5.0.02024-07-27

5.0.0 → 6.0.02024-09-16

6.0.0 → 7.0.02024-10-15

7.0.0 → 8.0.02024-12-31

### 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 (28 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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