omatech / edi-zoho-connect
Send forms to zoho
Requires
This package is auto-updated.
Last update: 2024-11-14 16:12:46 UTC
README
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 sarroyo@omatech.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.