PHPackages                             webleit/zohosignapi - 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. webleit/zohosignapi

AbandonedArchivedLibrary[API Development](/categories/api)

webleit/zohosignapi
===================

Zoho Sign API - PHP SDK

1.0.0(7y ago)0451[1 issues](https://github.com/Weble/ZohoSignApi/issues)MITPHPPHP &gt;=7.0.0

Since Sep 26Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (3)Used By (0)

Zoho Sign API - PHP SDK
=======================

[](#zoho-sign-api---php-sdk)

This Library is a SDK in PHP that simplifies the usage of the Zoho Sign Api version 1 () It provides both an interface to ease the interaction with the APIs without bothering with the actual REST request, while packaging the various responses using very simple Model classes that can be then uses with any other library or framework.

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

[](#installation)

```
composer require webleit/zohosignapi

```

In order to use the library, just require the composer autoload file, and then fire up the library itself. In order for the library to work, you need to be authenticated with the zoho sign apis.

```
require './vendor/autoload.php';
$zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]', '[REFRESH_TOKEN]');
```

Authentication
--------------

[](#authentication)

Zoho Sign Api use oAuth2 as the authentication method, as described [here](https://www.zoho.com/sign/api/). In order to authenticate the library, you can use two different methods:

#### 1. Refresh Token

[](#1-refresh-token)

If you want to, you can skip steps 1-7 and directly use Step 8, but you need to generate the refresh token yourself manually, using the instruction provided by zoho:

```
$zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]', '[REFRESH_TOKEN]');
```

#### 2. Grant Token / Authorization Page

[](#2-grant-token--authorization-page)

This is the best way, even if it requires more work.

1. Go to \[\] ()
2. Create a Client Id. **Remember the redirect url you set, you will need it**
3. Use the library to create a Grant token Url, and create a page (probably for the web application administrator?) that redirects to the given url, to allow the user to authenticate with his zoho sign credentials.

    ```
    use \Webleit\ZohoSignApi\ZohoSign;

    $zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]');
    $redirectUrl = $zohoSign->getGrantCodeConsentUrl('[YOUR_REDIRECT_URI]');

    // Redirect your user here to $redirectUrl
    ```
4. In your web application, create an endpoind for the redirect url you set in step 2.
5. When a request comes in to the new endpoint at `[REDIRECT_URL]`, you can use the library to parse the grant token from the url

    ```
    ...
      $grantToken = \Webleit\ZohoSignApi\ZohoSign::parseGrantTokenFromUrl($fullUri);

      // or, alternatively, $grantToken = $_GET['code'];
    ...
    ```
6. Give the Grant Code to the library

    ```
    $zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]');
    $zohoSign->setGrantCode($grantToken);
    ```
7. Get the fresh token, and store it.

    ```
    $refreshToken = $zohoSign->getRefreshToken();
    ```
8. From now on, use the refresh Token to create the library instance

    ```
    $zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]', $refreshToken);
    ```

Usage
-----

[](#usage)

To call any Api, just use the same name reported in the api docs. You can get the list of supported apis using the getAvailableModules() method

#### Example

[](#example)

```
$zohoSign = new ZohoSign('[CLIENT_ID]', '[CLIENT_SECRET]', '[REFRESH_TOKEN]');
$requests = $zohoSign->requests->getList();
```

Return Types
------------

[](#return-types)

Any "list" api call returns a Collection object, which is taken for Laravel Collection package. You can therefore use the result as Collection, which allows mapping, reducing, serializing, etc

Contributing
------------

[](#contributing)

Finding bugs, sending pull requests or improving the docs - any contribution is welcome and highly appreciated

Versioning
----------

[](#versioning)

Semantic Versioning Specification (SemVer) is used.

Copyright and License
---------------------

[](#copyright-and-license)

Copyright Weble Srl under the MIT license.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

2786d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fe88932c3280467c9a30f79205c0f2c85aecd28dae3a9e8b035d773ef6218ef?d=identicon)[Skullbock](/maintainers/Skullbock)

---

Top Contributors

[![Skullbock](https://avatars.githubusercontent.com/u/1104083?v=4)](https://github.com/Skullbock "Skullbock (1 commits)")

---

Tags

apisignZohozohosign

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webleit-zohosignapi/health.svg)

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[api-platform/metadata

API Resource-oriented metadata attributes and factories

223.5M96](/packages/api-platform-metadata)[webleit/zohobooksapi

Zoho Books API v3 - PHP SDK

4881.0k1](/packages/webleit-zohobooksapi)[tristanjahier/zoho-crm

A PHP client for the API of Zoho CRM.

2414.3k](/packages/tristanjahier-zoho-crm)[weble/zohoclient

Zoho API Client for oAuth auth and common tasks - PHP SDK

11145.6k3](/packages/weble-zohoclient)

PHPackages © 2026

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