A standalone ESI (Eve Swagger Interface) Client Library using kevinrob/guzzle-cache-middleware.
You can install the package via composer:
composer require seatplus/esi-client
$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;
composer test
Please see CHANGELOG for more information on what has changed recently.
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.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.