eveseat / eseye
一个独立的PHP ESI (EVE Swagger Interface) 客户端库
3.1.0
2024-09-06 10:41 UTC
Requires
- php: ^8.1
- ext-gmp: *
- ext-json: *
- ext-mbstring: *
- ext-openssl: *
- guzzlehttp/psr7: ^2.0
- monolog/monolog: ^3.0
- nesbot/carbon: ^2.0
- psr/http-client: ^1.0
- psr/http-client-implementation: *
- psr/http-factory: ^1.0
- psr/http-factory-implementation: *
- psr/log: ^3.0
- psr/simple-cache: ^3.0
- web-token/jwt-checker: ^3.0
- web-token/jwt-signature-algorithm-ecdsa: ^3.0
- web-token/jwt-signature-algorithm-hmac: ^3.0
- web-token/jwt-signature-algorithm-rsa: ^3.0
Requires (Dev)
- ext-memcache: *
- guzzlehttp/guzzle: ^7.0
- m6web/redis-mock: ^5.0
- mikey179/vfsstream: ~1
- mockery/mockery: ^1.0
- phpunit/phpunit: ^10.0
- predis/predis: ^2.0
Suggests
- ext-memcache: Required to use the memcache cache driver.
- ext-memcached: Required to use the memcached cache driver.
- guzzlehttp/guzzle: A widely used http client library.
- monolog/monolog: A widely used log library.
- predis/predis: Required to use the redis cache driver.
This package is auto-updated.
Last update: 2024-09-06 10:44:05 UTC
README
eseye
👾 使用PHP编写的独立、动态的ESI (EVE Swagger Interface) 客户端库
示例用法
它应该是简单的!
// initialization stuff $esi = new Eseye(); // Optionally, set the ESI endpoint version to use. // If you dont set this, Eseye will use /latest $esi->setVersion('v4'); // make a call $character_info = $esi->invoke('get', '/characters/{character_id}/', [ 'character_id' => 1477919642, ]); // get data! echo $character_info->name;
对于更完整的用法示例,请参阅 example.php
文档
有关最新文档、更多示例和其他好东西,请查看 项目维基!