seatplus/esi-client
最新稳定版本:3.0.0
Composer 安装命令:
composer require seatplus/esi-client
包简介
A standalone ESI (Eve Swagger Interface) Client Library using kevinrob/guzzle-cache-middleware
关键字:
README 文档
README
A standalone ESI (Eve Swagger Interface) Client Library using kevinrob/guzzle-cache-middleware.
Installation
You can install the package via composer:
composer require seatplus/esi-client
Usage
$esi = new Seatplus\EsiClient\EsiClient(); $esi->setVersion('v5'); // if you do not set a version, esi-client is using '/latest' // make a call $character_info = $esi->invoke('get', '/characters/{character_id}/', [ 'character_id' => 95725047, ]); echo $character_info;
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
As of today this esi client only supports Laravel Cache Middleware. However Kevinrob/guzzle-cache-middleware supports various others such as:
- Doctrine cache
- Laravel cache
- Flysystem
- PSR6
- WordPress Object Cache
if you plan to use this client with any of these a proper CacheMiddleware would be needed. Same goes to the HTTP client. This client and its cache middleware had been designed to use with Guzzle7 (but you can use it with any PSR-7 HTTP client). Please submit your PR accordingly implementing other HTTP clients.
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 1.84k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-23