Download the PHP package td-wp-plugin/td-zoho-crm-sdk-wrapper without Composer
On this page you can find all versions of the php package td-wp-plugin/td-zoho-crm-sdk-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download td-wp-plugin/td-zoho-crm-sdk-wrapper
More information about td-wp-plugin/td-zoho-crm-sdk-wrapper
Files in td-wp-plugin/td-zoho-crm-sdk-wrapper
Package td-zoho-crm-sdk-wrapper
Short Description Helps with initializing the Zoho CRM PHP SDK in WordPress via WP CLI.
License MIT
Informations about the package td-zoho-crm-sdk-wrapper
Zoho CRM SDK Wrapper
A simple WordPress plugin integrating the Zoho CRM PHP SDK with WordPress.
Capabilities
This plugin integrates with WP-CLI in order to easily setup tokens necessary for authenticating to the Zoho API by means of the Zoho CRM PHP SDK.
It will also handle initialization of the Zoho CRM SDK upon the WordPress init hook.
Prerequisites
This plugin is developed with a WordPress Bedrock installation into mind. The Zoho CRM tokens will be stored in the /config directory. Configuration is done by means of environment variables.
Configuration
The following environment variables are required:
ZOHO_CLIENT_IDZOHO_CLIENT_SECRETZOHO_CURRENT_USER_EMAILZOHO_REDIRECT_URI
The following environment variables are optional:
ZOHO_ACCOUNTS_URLdefaults tohttps://accounts.zoho.comZOHO_API_BASE_URLdefaults towww.zohoapis.comZOHO_SANDBOXdefaults tofalseZOHO_CONFIG_PATHdefaults to Bedrock's/configdirectory
Initialization: the Self-Client Method
For more information on the Zoho CRM PHP SDK initialization please check out its documentation at https://www.zoho.com/crm/developer/docs/php-sdk/initialize.html.
In order to be able to use the Zoho CRM SDK in WordPress you need to register a set of OAuth tokens by means of the
built-in WP-CLI command. The %grant-token% should be replaced by the temporary token you receive from the Zoho
Developer Console.