masmaleki/zoho-one

Zoho all in one for Laravel

Maintainers

Package info

github.com/masmaleki/zoho-one

pkg:composer/masmaleki/zoho-one

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 0

v4.0.0 2026-04-22 23:14 UTC

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

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

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

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

Component Range
PHP 8.2 / 8.3 / 8.4
Laravel 10.x / 11.x / 12.x / 13.x

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.