ysato / api-client-starter
API客户端入门套件。
v1.0.0
2021-12-22 04:12 UTC
Requires
- php: ^7.4
- ext-json: *
- php-http/cache-plugin: ^1.7
- php-http/client-common: ^2.5
- php-http/discovery: ^1.14
- psr/http-message: ^1.0
Requires (Dev)
- bear/qatools: ^1.9
- composer/composer: ^1.10
- doctrine/coding-standard: ^8.1
- guzzlehttp/guzzle: ^7.0.1
- roave/security-advisories: dev-latest
- vimeo/psalm: 3.x-dev
This package is auto-updated.
Last update: 2024-09-24 12:16:08 UTC
README
此库深受KnpLabs/php-github-api的启发。
API客户端入门套件
PHP restful API客户端应用程序的入门套件。
要求
- PHP >= 7.4
快速安装
通过Composer。
此命令将快速使用Guzzle HTTP客户端启动。
composer require ysato/api-client-starter:^1.0 guzzlehttp/guzzle:^7.0.1 http-interop/http-factory-guzzle:^1.0
高级安装
我们在HTTPlug的帮助下与任何HTTP消息客户端解耦。
使用不同的http客户端
composer require ysato/api-client-starter:^1.0 symfony/http-client nyholm/psr7
许可证
api-client-starter
使用MIT许可证 - 请参阅LICENSE文件以获取详细信息。