Skip to content

omatech/edi-zoho-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edi Zoho Connect

Latest Version on Packagist Total Downloads

Installation

You can install the package via composer:

composer require omatech/edi-zoho-connect

If provider is not added automatically add the following line to config/app.php:

'providers' => [
    ...
    Omatech\EdiZohoForms\EdiZohoConnectServiceProvider::class,
    ...
 ]

Create zoho_forms table.

php artisan migrate

Add to .env the following keys to connect to ZOHO:

ZOHO_OWNER
ZOHO_URL
ZOHO_TOKEN
ZOHO_SEND_FORMS=true
ZOHO_ERROR_MAIL_TO=

In case you want the ZOHO_ERROR_MAIL_TO to be multiple concatenate mails with ;

Usage

Custom Forms

Create your own forms using the following command:

php artisan zoho-forms:create

Example:

new DummyForm([
    'language' => 'es',
    'data' => request()->all(),
    'url' => url()->previous()
]);

It will ask the filename and the zoho form type (leads/campaigns)

Once the file is created you can overwrite the content to adapt it to your needs.

Send forms to ZOHO

php artisan zoho-forms:send

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published