Download the PHP package griddb/php-client without Composer

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

griddb/php-client

This package allows you to automatically build GridDB PHP Client source code with SWIG (Simplified Wrapper and Interface Generator) when running a composer install or update.

Operating environment

Building of the library and execution of the sample programs have been checked in the following environment

Preparations

Install PHP7.4.7

Install GridDB C Client by running the following as root:

How to install and use griddb/php-client on Packagist.org with composer

Installation

In your root project, using this command to install GridDB PHP Client from Packagist.org:

GridDB PHP Client source code will be located at vendor/griddb/php-client folder in your root project after griddb/php-client composer package has been installed successfully.

Usage

Add the following into composer.json file at root project:

Then run this command:

or

The griddb_php_client.so and griddb_php_client.php library files will then be created by composer script at vendor/griddb/php-client folder.

How to run sample with griddb/php-client composer package

GridDB Server need to be started in advance.

  1. Write the following description in /etc/php.ini

With:

  1. In your root project, execute the command to run sample:

If you want to run your other sample, remember to add the following line in your sample to include griddb_php_client.php library:

This make composer load automatically griddb_php_client.php library file from vendor folder.

Note:


All versions of php-client with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4
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 griddb/php-client contains the following files

Loading the files please wait ....