Log for Install GraphQL Client with Composer - yoshikyoto/php-github-client-graphql GitHub Wiki
GraphQL seems to use Guzzle Client for HTTP request:)
compose.json
{
"autoload": {
"spr-4": {
"Ghql\\": "src"
}
},
"require": {
"euautomation/graphql-client": "0.2"
}
}
composer install log
$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 5 installs, 0 updates, 0 removals
- Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
- Installing psr/http-message (1.0.1): Downloading (100%)
- Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
- Installing guzzlehttp/guzzle (6.3.0): Downloading (100%)
- Installing euautomation/graphql-client (0.2): Downloading (100%)
guzzlehttp/guzzle suggests installing psr/log (Required for using the Log middleware)
Writing lock file
Generating autoload files