You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-7
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,22 @@
1
1
# ZOHO CRM PHP SDK
2
2
3
+
## Table Of Contents
4
+
5
+
*[Overview](#overview)
6
+
*[Registering a Zoho Client](#registering-a-zoho-client)
7
+
*[Environmental Setup](#environmental-setup)
8
+
*[Including the SDK in your project](#including-the-sdk-in-your-project)
9
+
*[Persistence](#token-persistence)
10
+
*[DataBase Persistence](#database-persistence)
11
+
*[File Persistence](#file-persistence)
12
+
*[Custom Persistence](#custom-persistence)
13
+
*[Configuration](#configuration)
14
+
*[Initialization](#initializing-the-application)
15
+
*[Class Hierarchy](#class-hierarchy)
16
+
*[Responses And Exceptions](#responses-and-exceptions)
17
+
*[Multi-User support in the PHP SDK](#multi-user-support-in-the-php-sdk)
18
+
*[Sample Code](#sdk-sample-code)
19
+
3
20
## Overview
4
21
5
22
Zoho CRM PHP SDK offers a way to create client PHP applications that can be integrated with Zoho CRM.
@@ -61,7 +78,7 @@ You can include the SDK to your project using:
61
78
- Run the command below:
62
79
63
80
```sh
64
-
composer require zohocrm/php-sdk:3.0.0
81
+
composer require zohocrm/php-sdk:3.0.1
65
82
```
66
83
67
84
- The PHP SDK will be installed and a package named vendor will be created in the workspace of your client app.
@@ -82,11 +99,12 @@ Token persistence refers to storing and utilizing the authentication tokens that
82
99
83
100
### Table of Contents
84
101
85
-
- DataBase Persistence
102
+
- [DataBase Persistence](#database-persistence)
103
+
104
+
- [File Persistence](#file-persistence)
86
105
87
-
- File Persistence
106
+
- [Custom Persistence](#custom-persistence)
88
107
89
-
- Custom Persistence
90
108
91
109
### Implementing OAuth Persistence
92
110
@@ -311,20 +329,27 @@ Before you get started with creating your PHP application, you need to register
311
329
312
330
```php
313
331
/*
314
-
* autoRefreshFields
332
+
* autoRefreshFields (default value is false)
315
333
*true - all the modules' fields will be auto-refreshed in the background, every hour.
316
334
* false - the fields will not be auto-refreshed in the background. The user can manually delete the file(s) or refresh the fields using methods from ModuleFieldsHandler(com\zoho\crm\api\util\ModuleFieldsHandler)
317
335
*
318
-
* pickListValidation
336
+
* pickListValidation (default value is true)
319
337
* A boolean field that validates user input for a pick list field and allows or disallows the addition of a new value to the list.
320
338
* true - the SDK validates the input. If the value does not exist in the pick list, the SDK throws an error.
321
339
* false - the SDK does not validate the input and makes the API request with the user’s input to the pick list
340
+
*
341
+
* enableSSLVerification (default value is true)
342
+
* A boolean field to enable or disable curl certificate verification
343
+
* true - the SDK verifies the authenticity of certificate
344
+
* false - the SDK skips the verification
322
345
*/
323
346
$autoRefreshFields = false;
324
347
325
348
$pickListValidation = false;
326
349
327
-
$sdkConfig = (new SDKConfigBuilder())->setAutoRefreshFields($autoRefreshFields)->setPickListValidation($pickListValidation)->build();
350
+
$enableSSLVerification = true;
351
+
352
+
$sdkConfig = (new SDKConfigBuilder())->setAutoRefreshFields($autoRefreshFields)->setPickListValidation($pickListValidation)->setSSLVerification($enableSSLVerification)->build();
328
353
```
329
354
330
355
- Create an instance of RequestProxy containing the proxy properties of the user.
0 commit comments