Download the PHP package joytekmotion/zoho-oauth without Composer
On this page you can find all versions of the php package joytekmotion/zoho-oauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joytekmotion/zoho-oauth
More information about joytekmotion/zoho-oauth
Files in joytekmotion/zoho-oauth
Package zoho-oauth
Short Description This is a laravel package for Zoho Oauth Self Client. This can be used for generating access token and refresh token from your own Zoho account.
License MIT
Informations about the package zoho-oauth
Zoho Oauth Self Client for Laravel
This package is a Laravel wrapper for the Zoho Oauth API. It provides a simple way to authenticate with Zoho Oauth API and get the refresh token.
Requirements
- PHP 8.1 or higher
- Laravel 8.x or higher
Installation
You can install this package via composer:
Setup
- Add the following zoho credentials to your
.envfile:
To get the ZOHO_CLIENT_ID and ZOHO_CLIENT_SECRET, you need to create a Zoho Self Client in the Zoho Developer Console.
-
Optional: You can publish the configuration file using the following command:
- Optional: The service provider will be automatically registered by Laravel. If you need to manually register the service provider, add the following to your
config/app.phpfile:
Usage
Generate Refresh Token through Command Line
- To generate refresh token, you can use the following command:
Replace {code} with the authorization code you generated from Zoho Developer Console, and copy the refresh token to your .env file.
License
The MIT License (MIT). Please see License File for more information.