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.

    Access your files securely from anywhere









                          Zoho Developer Community




                                                • Desk Community Learning Series


                                                • Digest


                                                • Functions


                                                • Meetups


                                                • Kbase


                                                • Resources


                                                • Glossary


                                                • Desk Marketplace


                                                • MVP Corner


                                                • Word of the Day


                                                • Ask the Experts





                                                          Manage your brands on social media



                                                                Zoho TeamInbox Resources



                                                                    Zoho CRM Plus Resources

                                                                      Zoho Books Resources


                                                                        Zoho Subscriptions Resources

                                                                          Zoho Projects Resources


                                                                            Zoho Sprints Resources


                                                                              Qntrl Resources


                                                                                Zoho Creator Resources



                                                                                    Zoho CRM Resources

                                                                                    • CRM Community Learning Series

                                                                                      CRM Community Learning Series


                                                                                    • Kaizen

                                                                                      Kaizen

                                                                                    • Functions

                                                                                      Functions

                                                                                    • Meetups

                                                                                      Meetups

                                                                                    • Kbase

                                                                                      Kbase

                                                                                    • Resources

                                                                                      Resources

                                                                                    • Digest

                                                                                      Digest

                                                                                    • CRM Marketplace

                                                                                      CRM Marketplace

                                                                                    • MVP Corner

                                                                                      MVP Corner







                                                                                        Design. Discuss. Deliver.

                                                                                        Create visually engaging stories with Zoho Show.

                                                                                        Get Started Now


                                                                                          Zoho Show Resources

                                                                                            Zoho Writer

                                                                                            Get Started. Write Away!

                                                                                            Writer is a powerful online word processor, designed for collaborative work.

                                                                                              Zoho CRM コンテンツ






                                                                                                Nederlandse Hulpbronnen


                                                                                                    ご検討中の方