Download the PHP package nicolaskion/eve without Composer
On this page you can find all versions of the php package nicolaskion/eve. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nicolaskion/eve
More information about nicolaskion/eve
Files in nicolaskion/eve
Package eve
Short Description Esi Integration for EVE Online
License MIT
Homepage https://github.com/nicolaskion/esi
Informations about the package eve
ESI Integration for EVE Online
A Laravel package that integrates EVE Online's ESI API into your application. Every ESI endpoint is wrapped in a typed request class and returns fully typed, readonly DTOs — no juggling raw JSON arrays.
Features
- Complete ESI coverage — every endpoint in ESI's OpenAPI specification is implemented, pinned to a specific compatibility date per release
- Typed DTOs for every response — characters, corporations, alliances, assets, contracts, killmails, market data, industry, fleets, and more
- Automatic OAuth token refresh for authenticated endpoints via your own
Character/EsiTokenimplementations - Automatic pagination — multi-page endpoints are walked and merged into a single result set for you
- No exceptions on HTTP errors — every call returns a typed
EsiResultyou inspect - Configurable retry policy with sensible defaults
Requirements
- PHP 8.3+
- Laravel 12 or 13
Installation
Install the package via composer:
Publish the config file:
Set your ESI application credentials (only needed for authenticated endpoints — create an app at developers.eveonline.com):
The config file lets you tweak the user agent, retry policy, base URL and ESI compatibility date.
Usage
Public endpoints
Resolving names and IDs
Authenticated endpoints
Endpoints that require authentication accept a Character. Implement the
NicolasKion\Esi\Interfaces\Character and NicolasKion\Esi\Interfaces\EsiToken
interfaces on your models, and the package takes care of refreshing expired
access tokens for you:
Error handling
Every call returns an EsiResult. Nothing throws on HTTP errors:
Coverage & compatibility
This package implements every endpoint in ESI's OpenAPI specification, so
there is no per-endpoint table to keep in sync — if it exists in ESI, there is a
method for it. Method names follow the ESI operation they call
(getCharacter, getCorporationWalletJournal, getMarketOrders, search,
setWaypoint, …), and every one returns an EsiResult.
Each release is pinned to a specific ESI compatibility date, sent as the
X-Compatibility-Date header, so responses stay stable as ESI evolves. The
pinned date is configurable.
Testing
Run the suite with coverage:
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
All versions of eve with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^12.0 || ^13.0