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.
Download griddb/php-client
More information about griddb/php-client
Files in griddb/php-client
Package php-client
Short Description GridDB PHP Client Library will be generated by SWIG and GridDB C Client.
License Apache-2.0
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.
- Write the following description in /etc/php.ini
With:
- \
is [...]/vendor/griddb/php-client/griddb_php_client.so
- 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:
- Your sample need be located in the same vendor folder directory