Download the PHP package optimacloud/zoho-laravel without Composer

On this page you can find all versions of the php package optimacloud/zoho-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package zoho-laravel

Zoho Laravel API V6 Package

Packagist Version Packagist Downloads

This package used to integrate with the Zoho V6 Api CRM

Requirements

Registering a Zoho Client

Since Zoho CRM APIs are authenticated with OAuth2 standards, you should register your client app with Zoho. To register your app:

  1. Visit this page https://api-console.zoho.com/
  2. Click on ADD CLIENT.
  3. Choose a Self Client.
  4. Create grant token by providing the necessary scopes, time duration (the duration for which the generated token is valid) and Scope Description.
  5. Your Client app would have been created and displayed by now.
  6. Select the created OAuth client.
  7. User this scope aaaserver.profile.READ,ZohoCRM.modules.ALL,ZohoCRM.settings.ALL when you create the grant token.

Installation

You can install the package via composer require:

After installing the package you can publish the config file with:

after that you need to create the OAuth client and get the credentials from Zoho by run the following command:

You'll need to add the following variables to your .env file. Use the credentials previously obtained registering your application.

After that you need to run the following command to add token and refresh token to your storage

You can publish the config file with:

You can publish and run the migrations with:

Environments

maybe in some cases you wish to enforce zoho to use one of zoho's environments, so you can go to AppServiceProvider and use Zoho::useEnvironment() method

So that will override config settings.

Usage

To retrieve all modules from Zoho.

Models can be used like this:-

Available only starting from v1.1.0

add Zohoable as extended class like this:-

so now you can use invoice like this

Note: To use the Invoice like this, you must have the invoices table in your database just like you would for any Laravel model. This allows you to save data to the database and also be able to link it to the zohos table and use all the functions in Zohoable. Use the CRUD functions below if you do not intend to use the Zohoable model this way.

CRUD Can be used like this:-

READ

UPDATE

CREATE

DELETE

SEARCH

Word
Phone
Email
Criteria
Custom

International Versions

If you're using zoho.com, you don't have to change anything.

If you're using zoho.eu, add to .env:

If you're using zoho.com.cn, add to .env:

Support

Contact:
optimacloud.com
[email protected]
+2-010-1144-1444

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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


All versions of zoho-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
illuminate/contracts Version ^9.0|^10.0
spatie/laravel-package-tools Version ^1.14.2
zohocrm/php-sdk-6.0 Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package optimacloud/zoho-laravel contains the following files

Loading the files please wait ....