Download the PHP package twentytwoeastdigital/zoho without Composer

On this page you can find all versions of the php package twentytwoeastdigital/zoho. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package zoho

Twentytwoeastdigital

Overview

This package provides tools for interacting the Zoho API. Currently it supports Zoho Creator, Zoho Books and Zoho CRM.

Features

Coming Soon

Installation

1. To install the package, run the following command:

composer require twentytwoeastdigital\zoho

2. Add required variables to ENV

TWENTYTWOEASTDIGITAL_ZOHO_CLIENT_ID=1000.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
TWENTYTWOEASTDIGITAL_ZOHO_CLIENT_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
TWENTYTWOEASTDIGITAL_ZOHO_REDIRECT_URI="${APP_URL}/zoho/callback"
TWENTYTWOEASTDIGITAL_ZOHO_CREATOR_APP_OWNER=""
TWENTYTWOEASTDIGITAL_ZOHO_CREATOR_APP_LINK_NAME=""

3. Add optional variables to ENV

Coming Soon 

4. Make Initial OAuth Request

In your browser visit: ${APP_URL}/zoho/authorize, approve the request. That's all!

Usage

Creator API v2.1

Create

Definition: ZohoCreator::create(FORM_NAME, DATA);

Response: Returns Zoho Response

Read

Get All / Query Records
Definition: ZohoCreator::get(REPORT_NAME, QUERY (Optional), BYPASS_CACHE (Optional), BYPASS_DEFAULT_CACHE_TIME_IN_SECONDS (Optional));

Example with Caching: ZohoCreator::get('Report_Name');
Example with Caching & Query: ZohoCreator::get('Report_Name', 'Product_Name==Test&&Price>100');
Example bypassing Cache:  ZohoCreator::get('Report_Name', 'Name', true);
Example set Cache Time to 5 seconds: ZohoCreator::get('Report_Name', null, false, 5);

Response: Array of Records
Get Records By Id
Definition: ZohoCreator::getById(REPORT_NAME, RECORD_ID, BYPASS_CACHE (Optional), BYPASS_DEFAULT_CACHE_TIME_IN_SECONDS (Optional));

Example with Caching: ZohoCreator::getById('Report_Name', $id);
Example bypassing Cache:  ZohoCreator::getById('Report_Name', $id, true);
Example set Cache Time to 5 seconds: ZohoCreator::getById('Report_Name', $id, false, 5);

Response: Array of Record Values
Bulk Download for Single Record
Definition: ZohoCreator::bulk(REPORT_NAME, BYPASS_CACHE (Optional), BYPASS_DEFAULT_CACHE_TIME_IN_SECONDS (Optional));

Example with Caching: ZohoCreator::bulk('Report_Name', $id);
Example bypassing Cache:  ZohoCreator::bulk('Report_Name', true);
Example set Cache Time to 5 seconds: ZohoCreator::bulk('Report_Name', false, 5);

Response: Array of Record Values Keyed by Report Name
Bulk Download for Array of Records
Requests to Zoho are made at all once, rather than sequential so that the data is processed faster. 

Definition: ZohoCreator::bulk([REPORT_NAME, REPORT_NAME2, REPORT_NAME3], RECORD_ID, BYPASS_CACHE (Optional), BYPASS_DEFAULT_CACHE_TIME_IN_SECONDS (Optional));

Example with Caching: ZohoCreator::bulk('Report_Name', $id);
Example bypassing Cache:  ZohoCreator::bulk('Report_Name', $id, true);
Example set Cache Time to 5 seconds: ZohoCreator::bulk('Report_Name', $id, false, 5);

Response: Array of Record Values Keyed by Report Name

Update

Update Record by ID
Definition: ZohoCreator::update(REPORT_NAME, DATA, RECORD_ID);

Response: Returns Zoho Response
Update Bulk Records
Coming Soon

Delete

Delete Record by ID
Definition: ZohoCreator::delete(REPORT_NAME, RECORD_ID);

Response: Returns Zoho Response
Delete Bulk Records
Coming Soon

Contributing

We welcome contributions! Please make a pull request on GitHub.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or feedback, please contact us by submitting an issue on GitHub.


All versions of zoho with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
illuminate/support Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package twentytwoeastdigital/zoho contains the following files

Loading the files please wait ....