PHPackages                             zcc/cc-php-sdk - 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. zcc/cc-php-sdk

ActiveSdk[API Development](/categories/api)

zcc/cc-php-sdk
==============

PHP SDK for CommandCenter

1.0.0(3y ago)181Apache-2.0PHPPHP &gt;=7.0

Since Feb 6Pushed 3y agoCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

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.

```

ZOHOCRM PATHFINDER PHP SDK 1.0
==============================

[](#zohocrm-pathfinder-php-sdk-10)

Table Of Contents
-----------------

[](#table-of-contents)

- [Overview](#overview)
- [Environmental Setup](#environmental-setup)
- [Including the SDK in your project](#including-the-sdk-in-your-project)
- [Configuration](#configuration)
- [Initialization](#initializing-the-application)
- [Responses And Exceptions](#responses-and-exceptions)
- [Sample Code](#sdk-sample-code)

Overview
--------

[](#overview)

Zoho CRM PHP SDK offers a way to create client PHP applications that can be integrated with Zoho CRM PathFinder.

Environmental Setup
-------------------

[](#environmental-setup)

PHP SDK is installable through **Composer**. **Composer** is a tool for dependency management in PHP. SDK expects the following from the client app.

- Client app must have PHP(version 7 and above) with curl extension enabled.
- PHP SDK must be installed into client app though **Composer**.

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

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

You can include the SDK to your project using:

- Install **Composer** (if not installed).

    - Run this command to install the composer.

        ```
        curl -sS https://getcomposer.org/installer | php
        ```
    - To install composer on mac/linux machine:

        ```
        https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx
        ```
    - To install composer on windows machine:

        ```
        https://getcomposer.org/doc/00-intro.md#installation-windows
        ```
- Install **PHP SDK**.

    - Navigate to the workspace of your client app.
    - Run the command below:

        ```
        composer require zcc/cc-php-sdk
        ```
    - The PHP SDK will be installed and a package named vendor will be created in the workspace of your client app.
- Using the SDK.

    - Add the below line in PHP files of your client app, where you would like to make use of PHP SDK.

        ```
        require 'vendor/autoload.php';
        ```

    Through this line, you can access all the functionalities of the PHP SDK. The namespaces of the class to be used must be included within the "use" statement.

Configuration
-------------

[](#configuration)

Before you get started with creating your PHP application, you need to create a SDK configuration in ZOHOCRM PathFinder.

---

- Configure the API environment which decides the domain and the URL to make API calls.

    ```
    /*
    * Configure the environment
    * which is of the pattern Domain::Environment
    * Available Domains: USDataCenter, EUDataCenter, INDataCenter, CNDataCenter, AUDataCenter
    * Available Environments: PRODUCTION()
    */
    $environment = USDataCenter::PRODUCTION();
    ```
- Create an instance of SDKConfig containing SDK configurations.

    ```
    /*
    * By default, the SDK creates the SDKConfig instance
    */

    $sdkConfig = (new SDKConfigBuilder())->build();
    ```

Initializing the Application
----------------------------

[](#initializing-the-application)

Initialize the SDK using the following code.

```
use com\zoho\crm\api\InitializeBuilder;

use com\zoho\crm\api\dc\USDataCenter;

use com\zoho\crm\api\SDKConfigBuilder;

class PFSDKInitialize
{
    public static function initialize()
    {
   /*
    * Configure the environment
    * which is of the pattern Domain::Environment
    * Available Domains: USDataCenter, EUDataCenter, INDataCenter, CNDataCenter, AUDataCenter
    * Available Environments: PRODUCTION()
    */
    $environment = USDataCenter::PRODUCTION();

    $sdkConfig = (new SDKConfigBuilder())->build();

   /*
    * Set the following in InitializeBuilder
    * environment -> Environment instance
    * SDKConfig -> SDKConfig instance
    */
    (new InitializeBuilder())
            ->environment($environment)
            ->SDKConfig($sdkConfig)
            ->initialize();
    }
}

PFSDKInitialize::initialize();
```

- You can now access the functionalities of the SDK. Refer to the sample codes to make various API calls through the SDK.

Responses and Exceptions
------------------------

[](#responses-and-exceptions)

All SDK method calls return an instance of the **APIResponse** class.

Use the **getObject()** method in the returned **APIResponse** object to obtain the response handler interface (**GET**).

All other exceptions such as SDK anomalies and other unexpected behaviours are thrown under the **SDKException** class.

SDK Sample code
---------------

[](#sdk-sample-code)

```

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

1244d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0cf00244c59687ff583c9fe1b9918055e9121300a354c343d6f751359fd52174?d=identicon)[commandcenter-team](/maintainers/commandcenter-team)

---

Top Contributors

[![karthikeyanj121212](https://avatars.githubusercontent.com/u/79501551?v=4)](https://github.com/karthikeyanj121212 "karthikeyanj121212 (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zcc-cc-php-sdk/health.svg)

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

###  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)
