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

ActiveSdk[API Development](/categories/api)

zohocrm/php-sdk-4.0
===================

Zoho CRM API SDK for PHP

5.0.0(2y ago)1250↓100%1Apache-2.0PHPPHP &gt;=7.0

Since Dec 23Pushed 2y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (1)Versions (9)Used By (0)

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

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

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

    - User-specific fields meta class name conflicts resolved.
- [4.0.0](/versions/4.0.0/README.md)

    - Email related records API pagination Issue fixed.
        - Handled ***next\_index*** and ***prev\_index*** field datatype.
- [3.0.0](/versions/3.0.0/README.md)

    - Records APIs Issue fixed.
        - Supported delete operation in multi-select lookup, multi-user lookup, image upload, and subform fields.
- [2.0.0](/versions/2.0.0/README.md)

    - PHP SDK support DateTimeZone type.
    - PHP SDK DBStore, FileStore, and OAuthToken class Enhancement.
    - Changed ShiftHour $timezone field type.
    - Changed User $timezone field type.
    - Update \_\_Construct() function:
        - DownloadAttachmentsOperations
        - DownloadInlineImagesOperations
        - PortalInviteOperations
        - UserTypeUsersOperations
- [1.1.0](/versions/1.1.0/README.md)

    - PHP SDK support Unicode value.
- [1.0.0](/versions/1.0.0/README.md)

    - PHP SDK upgraded to support v4 APIs.
    - Structural changes to aid the process of SDK configuration and initialization user-friendly.

        - Handled Token Persistence
        - Updated UserSignature from Mandatory to Optional(Moved to OAuthToken Class).
        - user\_mail key in DBStore and FileStore is updated to user\_name.
    - PHP SDK improved to support the following new APIs

        - [AssociateEmail](https://www.zoho.com/crm/developer/docs/api/v4/associate-email.html)
        - [Backup](https://www.zoho.com/crm/developer/docs/api/v4/get-backup-info.html)
        - [BusinessHours](https://www.zoho.com/crm/developer/docs/api/v4/get-business-hours.html)
        - [CancelMeetings](https://www.zoho.com/crm/developer/docs/api/v4/meeting-cancel.html)
        - [DealContactRoles](https://www.zoho.com/crm/developer/docs/api/v4/get-contact-roles-of-a-specific-deal.html)
        - [DownloadEmailAttachmnets](https://www.zoho.com/crm/developer/docs/api/v4/download-email-attachments.html)
        - [DownloadInlineImagesofanEmail](https://www.zoho.com/crm/developer/docs/api/v4/download-inline-images.html)
        - [EmailSharing](https://www.zoho.com/crm/developer/docs/api/v4/get-email-shared-details.html)
        - [EmailRelatedrecords](https://www.zoho.com/crm/developer/docs/api/v4/get-email-rel-list.html)
        - [FieldMapDependency](https://www.zoho.com/crm/developer/docs/api/v4/get-map-dependency.html)
        - [fromAddresses](https://www.zoho.com/crm/developer/docs/api/v4/get-from-addresses-list.html)
        - [Holidays](https://www.zoho.com/crm/developer/docs/api/v4/get-holidays.html)
        - [MassChangeOwner](https://www.zoho.com/crm/developer/docs/api/v4/mass-change-owner.html)
        - [MassConvert](https://www.zoho.com/crm/developer/docs/api/v4/mass-convert-lead.html)
        - [MassDeleteCVID](https://www.zoho.com/crm/developer/docs/api/v4/mass-delete.html)
        - [Portals](https://www.zoho.com/crm/developer/docs/api/v4/get-portals.html)
        - [PortalInvite](https://www.zoho.com/crm/developer/docs/api/v4/invite-user.html)
        - [ShiftHours](https://www.zoho.com/crm/developer/docs/api/v4/get-shift-hours.html)
        - [UserGroups](https://www.zoho.com/crm/developer/docs/api/v4/get-user-groups.html)
        - [UserTerritories](https://www.zoho.com/crm/developer/docs/api/v4/get-user-territories.html)
        - [UserType](https://www.zoho.com/crm/developer/docs/api/v4/get-user-types.html)
        - [UserTypeUsers](https://www.zoho.com/crm/developer/docs/api/v4/get-users-user-type.html)
- [1.0.0-beta](/versions/1.0.0-beta/README.md)

    - Beta version of CRM v4 APIs.

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

```
composer require zohocrm/php-sdk-4.0:5.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.

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92% 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 ~36 days

Recently: every ~9 days

Total

7

Last Release

1014d ago

Major Versions

1.1.0 → 2.0.02023-07-11

2.0.0 → 3.0.02023-07-22

3.0.0 → 4.0.02023-07-31

4.0.0 → 5.0.02023-07-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 (23 commits)")[![tharun-pargi-15510](https://avatars.githubusercontent.com/u/122008081?v=4)](https://github.com/tharun-pargi-15510 "tharun-pargi-15510 (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M453](/packages/google-gax)

PHPackages © 2026

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