Download the PHP package ayles-software/laravel-zoho-desk without Composer
On this page you can find all versions of the php package ayles-software/laravel-zoho-desk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ayles-software/laravel-zoho-desk
More information about ayles-software/laravel-zoho-desk
Files in ayles-software/laravel-zoho-desk
Package laravel-zoho-desk
Short Description Laravel wrapper for Zoho Desk
License MIT
Informations about the package laravel-zoho-desk
Zoho Desk for Laravel
Zoho Desk Laravel provides an oauth2 client and sdk for Zoho Desk api.
Requirements
- Laravel 6+
- PHP 7.2.5+
Installation
Install via using composer
Setup
Publish the config.
You now need to populate the config/zoho-desk.php
file with the credentials for
your Zoho integration. You can create new API keys
here.
Add the following variables to your .env
file.
The config file also contains scopes for Zoho.
The access_type=offiline
scope is required to obtain a new access token. Access tokens expire after 60 minutes.
For more information on scopes try the documentation.
Migrations
This package uses ZohoDeskAccess
model to manage access tokens. Run the migration to create this table.
OAuth flow
First you must authorize the application, this will require a controller and route to be setup. Once the application has been authorized then access to Zoho is self managed within this package. Once the access token expires, a new one will be request as needed.
ZohoOAuth::class
will provide the OAuth flow and regeneration of the access token.
Example of Controller for authorization.
Usage
For more information see the API Documentation.
License
Zoho Desk Laravel is open-sourced software licensed under the MIT license.
All versions of laravel-zoho-desk with dependencies
laravel/framework Version ^6.0||^7.0||^8.0||^9.0
league/oauth2-client Version ^2.6