marshmallow / zoho-desk
This packages provides you with the ability to easily connect your Laravel application to ZohoDesk.
Installs: 11 455
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 2
Requires
- php: ^7.4|^8.0
- dev-master
- v1.5.1
- v1.5.0
- v1.4.0
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.1
- v1.1.0
- v1.0.1
- v1.0.0
- dev-dependabot/github_actions/overtrue/phplint-9.1
- dev-dependabot/github_actions/actions/checkout-4.1.1
- dev-32-badmethodcallexception-method-marshmallowzohodeskcommandszohodeskauthnewline-does-not-exist
- dev-development
This package is auto-updated.
Last update: 2024-12-04 12:02:14 UTC
README
Laravel Zoho Desk
This packages provides you with the ability to easily connect your Laravel application to ZohoDesk.
Installation
Composer
You can install the package via composer:
composer require marshmallow/zoho-desk
Documentation
The documentation for the Zoho Desk api can be found here:
Configuration
You need to fill in you ZOHO_CLIENT_ID
and ZOHO_CLIENT_SECRET
to be able to run the next step of the installation. If you know your ZOHO_DEPARTMENT_ID
you can fill that in. If you don't, we have a command for you where u can list you departments and then fill it in. This can be run after you've run the auth command.
ZOHO_CLIENT_ID= ZOHO_CLIENT_SECRET= ZOHO_DEPARTMENT_ID=
Migrate
You need to run a migration so we can create a database table where we can store the access tokens for the connection to Zoho Desk.
php artisan migrate
Publish config
Publish the config file and make adjustments where changes are needed for your situation.
php artisan vendor:publish --provider="Marshmallow\ZohoDesk\ZohoDeskServiceProvider"
Auth
We need to authenticate you Laravel application with Zoho Desk. You can do this by running the command below. This command will take you through a number of steps to complete the connection.
php artisan zoho-desk:auth
Departments
You can list you Departments if you don't know which department ID you need to use. Run the command below, copy the ID and add it to your .env
file.
php artisan zoho-desk:list-departments
Ticket
Ticket::setDueDate($ticket_id, now()); Ticket::comment($ticket_id, 'This comment should be added to this ticket', $public = false); Ticket::attachment($ticket_id, $relative_storage_path); // Or bind them all together Ticket::of($ticket_id) ->setDueDate(now()) ->comment('This comment should be added to this ticket', $public = false) ->attachment($relative_storage_path);
Applications
We are preparing to implement more Zoho applications than just Zoho Desk. We are starting with Zoho Portal. This can be activated by calling the portal()
method on the ZohoDesk facade.
ZohoDesk::portal()->get('kbArticles/{articles_id});
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email stef@marshmallow.dev instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.