PHPackages                             marshmallow/zoho-desk - 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. marshmallow/zoho-desk

ActiveLibrary[API Development](/categories/api)

marshmallow/zoho-desk
=====================

This packages provides you with the ability to easily connect your Laravel application to ZohoDesk.

v1.5.1(2y ago)025.3k↓72%[1 PRs](https://github.com/marshmallow-packages/zoho-desk/pulls)MITPHPPHP ^7.4|^8.0CI passing

Since Jan 7Pushed 2w ago1 watchersCompare

[ Source](https://github.com/marshmallow-packages/zoho-desk)[ Packagist](https://packagist.org/packages/marshmallow/zoho-desk)[ Docs](https://github.com/Marshmallow-Development/)[ RSS](/packages/marshmallow-zoho-desk/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)DependenciesVersions (20)Used By (0)

[![alt text](https://camo.githubusercontent.com/f5450f299f5713ce2f04dd5a1ba7ce9960ed4568b3574e4c4ee3cddc75477253/68747470733a2f2f6d617273686d616c6c6f772e6465762f63646e2f6d656469612f6c6f676f2d7265642d3233377834362e706e67 "marshmallow.")](https://camo.githubusercontent.com/f5450f299f5713ce2f04dd5a1ba7ce9960ed4568b3574e4c4ee3cddc75477253/68747470733a2f2f6d617273686d616c6c6f772e6465762f63646e2f6d656469612f6c6f676f2d7265642d3233377834362e706e67)

Laravel Zoho Desk
=================

[](#laravel-zoho-desk)

[![Latest Version on Packagist](https://camo.githubusercontent.com/261b01c85c3a289b4f45e0028ad9bbe8432fbfe09cd25d267989ec4112824728/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617273686d616c6c6f772f7a6f686f2d6465736b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marshmallow/zoho-desk)[![Total Downloads](https://camo.githubusercontent.com/1dd8a21d6936e5dc160a385754c36b591f657d4e362ad2e33be259a16a1a2007/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617273686d616c6c6f772f7a6f686f2d6465736b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/marshmallow/zoho-desk)[![Issues](https://camo.githubusercontent.com/c4273b8b25f0d8630dc5b92ea54d184dcc37e78d513669ea00cf537119eb0644/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d617273686d616c6c6f772d7061636b616765732f7a6f686f2d6465736b3f7374796c653d666c61742d737175617265)](https://github.com/marshmallow-packages/zoho-desk/issues)[![Licence](https://camo.githubusercontent.com/e8f1ce9a97e7d95678d31e13f6715c8bedb0b540477b4f38c973d269dfa5db85/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d617273686d616c6c6f772d7061636b616765732f7a6f686f2d6465736b3f7374796c653d666c61742d737175617265)](https://github.com/marshmallow-packages/zoho-desk/blob/main/LICENSE.md)[![PHP Syntax Checker](https://github.com/marshmallow-packages/zoho-desk/workflows/PHP%20Syntax%20Checker/badge.svg)](https://github.com/marshmallow-packages/zoho-desk/actions/workflows/php-syntax-checker.yml)

This packages provides you with the ability to easily connect your Laravel application to ZohoDesk.

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

[](#installation)

### Composer

[](#composer)

You can install the package via composer:

```
composer require marshmallow/zoho-desk
```

The service provider and the `ZohoDesk` facade are registered automatically through Laravel's package discovery.

### Documentation

[](#documentation)

The documentation for the Zoho Desk api can be found [here](https://desk.zoho.com/DeskAPIDocument).

### Configuration

[](#configuration)

You need to fill in your `ZOHO_CLIENT_ID` and `ZOHO_CLIENT_SECRET` to be able to run the next step of the installation. If you know your `ZOHO_DEPARTMENT_ID` you can fill that in. If you don't, we have a command for you where you can list your departments and then fill it in. This can be run after you've run the auth command.

```
ZOHO_ACTIVE=true
ZOHO_CLIENT_ID=
ZOHO_CLIENT_SECRET=
ZOHO_DEPARTMENT_ID=
```

### Migrate

[](#migrate)

You need to run a migration so we can create a database table where we can store the access tokens for the connection to Zoho Desk.

```
php artisan migrate
```

### Publish config

[](#publish-config)

Publish the config file and make adjustments where changes are needed for your situation.

```
php artisan vendor:publish --provider="Marshmallow\ZohoDesk\ZohoDeskServiceProvider"
```

The published `config/zohodesk.php` exposes the following options:

KeyDefaultDescription`active``env('ZOHO_ACTIVE', false)`Whether the Zoho Desk connection is active.`client_id``env('ZOHO_CLIENT_ID')`Your Zoho OAuth client ID.`client_secret``env('ZOHO_CLIENT_SECRET')`Your Zoho OAuth client secret.`department_id``env('ZOHO_DEPARTMENT_ID')`The Zoho Desk department to operate on.`auth_host``https://accounts.zoho.eu/oauth/v2`The Zoho OAuth host used for authentication.`desk_host``https://desk.zoho.eu/api/v1`The Zoho Desk API host.`desk_portal_host``https://desk.zoho.eu/portal/api`The Zoho Desk portal API host.`default_channel``Web`Default channel used when creating tickets.`default_classification``Request`Default classification used when creating tickets.`default_language``Dutch`Default language used when creating tickets.`scopes`arrayThe OAuth scopes requested during authentication.### Auth

[](#auth)

We need to authenticate your Laravel application with Zoho Desk. You can do this by running the command below. This command will take you through a number of steps to complete the connection.

```
php artisan zoho-desk:auth
```

### Departments

[](#departments)

You can list your Departments if you don't know which department ID you need to use. Run the command below, copy the ID and add it to your `.env` file.

```
php artisan zoho-desk:list-departments
```

Usage
-----

[](#usage)

### Ticket

[](#ticket)

Each of these calls performs the action immediately on the given ticket:

```
use Marshmallow\ZohoDesk\Facades\Ticket;

Ticket::setDueDate($ticket_id, now());
Ticket::comment($ticket_id, 'This comment should be added to this ticket', $public = false);
Ticket::attachment($ticket_id, $relative_storage_path);
```

Or bind them all together and dispatch them with a single `post()` call:

```
use Marshmallow\ZohoDesk\Facades\Requests\Ticket;

Ticket::of($ticket_id)
    ->setDueDate(now())
    ->comment('This comment should be added to this ticket', $public = false)
    ->attachment($relative_storage_path)
    ->post();
```

Applications
------------

[](#applications)

We are preparing to implement more Zoho applications than just Zoho Desk. We are starting with Zoho Portal. This can be activated by calling the `portal()` method on the ZohoDesk facade.

```
use Marshmallow\ZohoDesk\Facades\ZohoDesk;

ZohoDesk::portal()->get('kbArticles/{articles_id}');
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Stef](https://marshmallow.dev)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance63

Regular maintenance activity

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 89.5% 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 ~69 days

Recently: every ~208 days

Total

15

Last Release

1031d ago

PHP version history (2 changes)v1.0.0PHP ^7.4

v1.1.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/be33d2624e24c516e73892b0929447cc762f3622c024ab8d0d2a59042e5d2c7f?d=identicon)[marshmallow](/maintainers/marshmallow)

---

Top Contributors

[![stefvanesch](https://avatars.githubusercontent.com/u/46725619?v=4)](https://github.com/stefvanesch "stefvanesch (68 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")

---

Tags

laravelZohomarshmallowzoho-deskZohoDesk

### Embed Badge

![Health badge](/badges/marshmallow-zoho-desk/health.svg)

```
[![Health](https://phpackages.com/badges/marshmallow-zoho-desk/health.svg)](https://phpackages.com/packages/marshmallow-zoho-desk)
```

###  Alternatives

[asciisd/zoho

Laravel wrapper for Zoho CRM API v8

3854.8k](/packages/asciisd-zoho)[asciisd/zoho-v3

Laravel Zoho API V3 Package

2022.4k](/packages/asciisd-zoho-v3)[marshmallow/laravel-facebook-webhook

A package to retrieve Facebook Leads with webhooks &amp; Graph API in Laravel.

133.4k](/packages/marshmallow-laravel-facebook-webhook)

PHPackages © 2026

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