Add Zoho CRM to your composer file via the composer require
command:
$ composer require interconnecta/zoho-crm
Or add it to composer.json
manually:
"require": {
"interconnecta/zoho-crm": "0.6.*"
}
Zoho CRM's service providers will be automatically registered using Laravel's auto-discovery feature.
The defaults configuration settings are set in config/zoho-crm.php
. Copy this file to your own config directory to modify the values. You can publish the config using this command:
$ php artisan zoho-crm:install
You'll need to add the following variables to your .env file. Use the credentials previously obtained registering your application.
ZOHO_CRM_CLIENT_ID=
ZOHO_CRM_CLIENT_SECRET=
ZOHO_CRM_REDIRECT_URI=
ZOHO_CRM_CURRENT_USER_EMAIL=
Then, follow the next steps:
Go to Zoho CRM Developer Console.
Under the Client previously registered, click the vertical three points then Self Client
.
Enter the default scope , then click View Code
aaaserver.profile.READ,ZohoCRM.modules.ALL,ZohoCRM.settings.ALL
If you want to apply a different scope, see the link
Copy the generated code.
Finally, run the following command:
$ php artisan zoho-crm:setup
Enter the previously generated code.
Zoho CRM is ready to use.
You can find the latest development roadmap for this package here. Feel free to open an issue if you have a feature request.
MIT License. Copyright (c) 2012-2019, InterConnecta
Contact:
interconnecta.com
it@interconnecta.com
+1-646-760-4090, ext. 205