PHPackages                             masmaleki/zoho-v3 - 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. masmaleki/zoho-v3

ActiveLibrary[API Development](/categories/api)

masmaleki/zoho-v3
=================

Zoho all in one for Laravel

v4.0.3(1mo ago)51943MITPHPPHP ^8.2CI passing

Since Aug 30Pushed 3d ago4 watchersCompare

[ Source](https://github.com/masmaleki/zoho-v4)[ Packagist](https://packagist.org/packages/masmaleki/zoho-v3)[ Docs](https://github.com/masmaleki/zoho-one)[ RSS](/packages/masmaleki-zoho-v3/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (52)Versions (86)Used By (0)

Zoho all in one for Laravel
===========================

[](#zoho-all-in-one-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f16393ed5b07eb5c8504d4aa95d4a7f69e6e24a5942729a86973828b1554a808/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d61736d616c656b692f7a6f686f2d6f6e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/masmaleki/zoho-one)[![GitHub Tests Action Status](https://camo.githubusercontent.com/cce17de6a5918a6257a58d9eac36183aa28072e271ede29f5f9196f442444cc3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d61736d616c656b692f7a6f686f2d6f6e652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473)](https://github.com/masmaleki/zoho-one/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/682c479f609503d599262e01a893d1e00bbe7e824800699fce62902afc20e0cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d61736d616c656b692f7a6f686f2d6f6e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/masmaleki/zoho-one)

Laravel package for integration with the Zoho v3 API (CRM + Books + Inventory) with multi-organization token support.

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

[](#installation)

Install the package via Composer:

```
composer require masmaleki/zoho-one
```

Publish and run the migrations:

```
php artisan vendor:publish --tag="zoho-one-migrations"
php artisan migrate
```

Publish the config file:

```
php artisan vendor:publish --tag="zoho-one-config"
```

The config is published to `config/zoho-one.php`. Reference values in your app via `config('zoho-one.*')`.

Upgrading from `masmaleki/zoho-v3` or `masmaleki/zoho-v4`
---------------------------------------------------------

[](#upgrading-from-masmalekizoho-v3-or-masmalekizoho-v4)

This package was previously published as `masmaleki/zoho-v3` and briefly as `masmaleki/zoho-v4`. The package name no longer carries a version suffix; the underlying database table is still named `zoho_v4` (it is an internal implementation detail and is not renamed again to avoid forcing another migration on existing installs).

To upgrade:

1. Swap the Composer requirement:

    ```
    composer remove masmaleki/zoho-v3   # or masmaleki/zoho-v4
    composer require masmaleki/zoho-one
    ```
2. Publish and run the migrations. Two guarded upgrade migrations ship with the package (both are idempotent and safe to re-run):

    ```
    php artisan vendor:publish --tag="zoho-one-migrations"
    php artisan migrate
    ```

    - `rename_zoho_v3_to_zoho_v4_table` renames the legacy `zoho_v3` table to `zoho_v4`(no-op if you are already on `zoho_v4` or on a fresh install).
    - `add_organization_id_to_zoho_v4_table` adds the `organization_id` column required by the multi-organization feature (no-op if already present).
3. Re-publish the config (it has been renamed to `config/zoho-one.php`) and copy any custom values from your old `config/zoho-v3.php` or `config/zoho-v4.php`:

    ```
    php artisan vendor:publish --tag="zoho-one-config"
    ```

    Update any `config('zoho-v3.*')` or `config('zoho-v4.*')` calls in your application code to `config('zoho-one.*')`.

Compatibility
-------------

[](#compatibility)

ComponentRangePHP8.2 / 8.3 / 8.4Laravel10.x / 11.x / 12.x / 13.xZoho Books customization resources
----------------------------------

[](#zoho-books-customization-resources)

The package includes helpers for Zoho Books customization resources. These methods use the configured Books API base URL from `config('zoho-one.books_api_base_url')`, the saved Zoho access token, and the Zoho Books organization ID passed to the method.

```
use Masmaleki\ZohoAllInOne\ZohoAllInOne;

$organizationId = 123456789;

$customField = ZohoAllInOne::createBooksCustomField([
    'label' => 'Internal Number',
    'data_type' => 'string',
], $organizationId);

$webhook = ZohoAllInOne::createBooksWebhook([
    'name' => 'Sales order sync',
    'url' => 'https://example.com/api/zoho/books/webhook',
], $organizationId);

$customFunction = ZohoAllInOne::createBooksCustomFunction([
    'name' => 'Sync sales order',
    'script' => '// Deluge script body',
], $organizationId);

$customAction = ZohoAllInOne::createBooksCustomAction([
    'name' => 'Run sync',
], $organizationId);
```

Available helper groups:

```
ZohoAllInOne::getBooksCustomFields($organizationId, $query = []);
ZohoAllInOne::createBooksCustomField($data, $organizationId);
ZohoAllInOne::getBooksCustomField($fieldId, $organizationId);
ZohoAllInOne::updateBooksCustomField($fieldId, $data, $organizationId);
ZohoAllInOne::deleteBooksCustomField($fieldId, $organizationId);

ZohoAllInOne::getBooksWebhooks($organizationId, $query = []);
ZohoAllInOne::createBooksWebhook($data, $organizationId);
ZohoAllInOne::getBooksWebhook($webhookId, $organizationId);
ZohoAllInOne::updateBooksWebhook($webhookId, $data, $organizationId);
ZohoAllInOne::deleteBooksWebhook($webhookId, $organizationId);

ZohoAllInOne::getBooksCustomFunctions($organizationId, $query = []);
ZohoAllInOne::createBooksCustomFunction($data, $organizationId);
ZohoAllInOne::getBooksCustomFunction($functionId, $organizationId);
ZohoAllInOne::updateBooksCustomFunction($functionId, $data, $organizationId);
ZohoAllInOne::deleteBooksCustomFunction($functionId, $organizationId);

ZohoAllInOne::getBooksCustomActions($organizationId, $query = []);
ZohoAllInOne::createBooksCustomAction($data, $organizationId);
ZohoAllInOne::getBooksCustomAction($actionId, $organizationId);
ZohoAllInOne::updateBooksCustomAction($actionId, $data, $organizationId);
ZohoAllInOne::deleteBooksCustomAction($actionId, $organizationId);
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Mohammad Sadegh Maleki](https://github.com/masmaleki)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance96

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~162 days

Total

81

Last Release

34d ago

Major Versions

v0.4.6 → v1.0.02023-06-17

v1.0.20 → v4.0.02026-04-22

PHP version history (3 changes)v0.1.0-betaPHP ^8.1

v0.1.1-betaPHP ^8.0

v4.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/700c615243c927236af92c6ce4f857b0047639518570866f96b0ec9adca1a773?d=identicon)[masmaleki](/maintainers/masmaleki)

---

Top Contributors

[![AliMehraei](https://avatars.githubusercontent.com/u/72335154?v=4)](https://github.com/AliMehraei "AliMehraei (260 commits)")[![shahriared](https://avatars.githubusercontent.com/u/57944847?v=4)](https://github.com/shahriared "shahriared (133 commits)")[![masmaleki](https://avatars.githubusercontent.com/u/5430351?v=4)](https://github.com/masmaleki "masmaleki (85 commits)")[![davoodf1995](https://avatars.githubusercontent.com/u/19805938?v=4)](https://github.com/davoodf1995 "davoodf1995 (51 commits)")[![kooshamostofi](https://avatars.githubusercontent.com/u/130854017?v=4)](https://github.com/kooshamostofi "kooshamostofi (4 commits)")

---

Tags

laravelZohomasmalekizoho-one

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/masmaleki-zoho-v3/health.svg)

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

###  Alternatives

[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k91](/packages/nativephp-mobile)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)

PHPackages © 2026

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