Download the PHP package gridgain/client without Composer

On this page you can find all versions of the php package gridgain/client. 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 client

PHP Thin Client for GridGain

Installation

The client requires PHP version 7.2 or higher (http://php.net/manual/en/install.php) and Composer Dependency Manager (https://getcomposer.org/download/).

The client additionally requires PHP Multibyte String extension. Depending on you PHP configuration you may need to additionally install/configure it (http://php.net/manual/en/mbstring.installation.php)

Installation from the PHP Package Repository

This is a recommended way for users. Run from your application root

To use the client in your application, include vendor/autoload.php file, generated by Composer, to your source code, eg.

Installation from Sources

This way is more suitable for developers or if you install client from zip archive.

  1. Download and/or unpack GridGain PHP client sources to gridgain_client_path
  2. Go to gridgain_client_path folder
  3. Execute composer install --no-dev command

To use the client in your application, include vendor/autoload.php file, generated by Composer, to your source code, eg.

Updating to newer version

To update version of client used in your project, just update version in your "require" section of composer.json and run the following command:

Full Examples

PHP Thin Client contains examples to demonstrate the main behavior of the client.

Examples Installation

Examples are installed during installation of the whole GridGain client from sources.

Examples Setup and Running

  1. Run GridGain server - locally or remotely - if not run yet.

  2. If needed, modify ENDPOINT constant in an example source file - GridGain node endpoint. The default value is 127.0.0.1:10800.

  3. Run an example by calling php <example_file_name>.php, eg:

Refer to Examples ReadMe for detailed descriptions of examples.

For more information, see GridGain PHP Thin Client documentation.


All versions of client with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
ext-mbstring Version *
php-ds/php-ds Version ^1.2
brick/math Version ^0.7
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 gridgain/client contains the following files

Loading the files please wait ....