aria-php / aria-graphql-client
ARIA GraphQL 库
1.9.4
2024-07-03 15:57 UTC
Requires
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- phpunit/phpunit: ^8.1
- squizlabs/php_codesniffer: ^3.4
- symfony/dotenv: ^6.2
Suggests
- firebase/php-jwt: For Access Token aware cached queries
- symfony/cache: For cached queries
- dev-master
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.12
- 1.6.11
- 1.6.10
- 1.6.9
- 1.6.8
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.16
- 1.4.15
- 1.4.14
- 1.4.13
- 1.4.12
- 1.4.11
- 1.4.10
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.25
- 1.1.24
- 1.1.23
- 1.1.22
- 1.1.21
- 1.1.20
- 1.1.19
- 1.1.18
- 1.1.17
- 1.1.16
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.12
- 1.1.11
- 1.1.9
- 1.1.8
- 1.1.7
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- dev-fix/profile-complete-valid-scopes
- dev-fix/hms-1169
This package is auto-updated.
Last update: 2024-08-23 13:04:57 UTC
README
提供用于与 ARIA GraphQL API 通信的 PHP 库。
安装
将存储库添加到您的 composer.json 中
"repositories": [
{
"type": "vcs",
"url": "https://gitlab.com/aria-php/aria-graphql-client.git"
}
],
然后从您的项目中运行 composer require aria-php/aria-graphql-client
。
使用方法
Client
为调用 GraphQL 服务器提供了底层接口,但是您应该使用基于 APIDefinition
的接口类之一。
这些接口类将提供 API 的函数级接口。例如。
$client = new Client();
$client->setToken($bearer);
$documents = new DocumentAPI($client);
$docs = $documents->getDocuments();