seatplus / esi-client
A standalone ESI (Eve Swagger Interface) Client Library using kevinrob/guzzle-cache-middleware
Fund package maintenance!
seatplus
Installs: 1 703
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.3
- ext-json: *
- firebase/php-jwt: ^5.4
- kevinrob/guzzle-cache-middleware: ^4.0
- monolog/monolog: ^3.7
- nesbot/carbon: ^2.53
Requires (Dev)
- ext-openssl: *
- fzaninotto/faker: ^1.5
- illuminate/cache: ^11.23
- laravel/pint: ^1.17
- mikey179/vfsstream: ^1
- mockery/mockery: ^1.4
- nunomaduro/collision: ^8.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-type-coverage: ^3.0
- phpstan/phpstan: ^1.12
- rector/rector: ^1.2
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.