Zoho CRM API v2 - PHP SDK - Concept issues

Zoho CRM API v2 - PHP SDK - Concept issues

We have decided to migrate our PHP application from Zoho CRM API v1 to v2, using the official Zoho CRM SDK.

I have seen multiple core problems :

- Config file should NOT be in the vendor file. Those file have a chance of being overwritten during a "composer update". We should have a "config_file_path" parameter when initiating the client.

- Zoho asked for the database used to store the tokens to be named "zohooauth". This might be a problem for some shared hosting where databases often have a prefix (ex.: mydomain_zohoauth). We should be able to specify a database name. It seems to have been done correctly in the C# SDK.

- Last but not least, the file "zohocrm/php-sdk/src/com/zoho/oauth/common/OAuthLogger.php" (on line 6) reads and write in a log file located in the composer's vendor folder. I had to change the folder's permission in order to make this works, and it should not write into the vendor directory at all. Once again, we should have a log path.