PHPackages                             tkhamez/swagger-eve-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. tkhamez/swagger-eve-php

Abandoned → [tkhamez/eve-api](/?search=tkhamez%2Feve-api)ArchivedLibrary[HTTP &amp; Networking](/categories/http)

tkhamez/swagger-eve-php
=======================

An OpenAPI Client Library for EVE Online (ESI)

11.0.1(9mo ago)89.6k↓83.3%21MITPHPPHP ^8.1

Since Mar 10Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/tkhamez/swagger-eve-php)[ Packagist](https://packagist.org/packages/tkhamez/swagger-eve-php)[ Docs](https://openapi-generator.tech)[ RSS](/packages/tkhamez-swagger-eve-php/feed)WikiDiscussions main Synced 5d ago

READMEChangelogDependencies (4)Versions (61)Used By (1)

[![Packagist Downloads](https://camo.githubusercontent.com/8a1180683e19538561b41357863055ecc91da96925ec60dbcdf524e6f0f7786b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746b68616d657a2f737761676765722d6576652d706870)](https://packagist.org/packages/tkhamez/swagger-eve-php)

***This package is abandoned, successor: .***

OpenAPIClient-php
=================

[](#openapiclient-php)

An OpenAPI for EVE Online.

This client is generated from the "latest" routes. Versioning is now done with an HTTP header, see .

It contains a patch that removes the validation of max items because CCP sometimes increases this value without increasing the endpoint version/compatibility date.

##### Versioning scheme since 1.0.0

[](#versioning-scheme-since-100)

- Patch: Generated a client from a new [swagger.json](https://esi.evetech.net/latest/swagger.json) file, refer to [esi-issues/changelog.md](https://github.com/esi/esi-issues/blob/master/changelog.md)(note, however, that the date is not always correct there) and/or generated with a new patch version of the generator library.
- Minor: Switched to a new minor version of the generator library.
- Major: Switched to a new major version of the generator library, switched to another generator library or another breaking change.

See  for generator library changes.

##### Notable changes other than API updates

[](#notable-changes-other-than-api-updates)

11.0.0

- The patch that removed the validation of enum attributes has been removed. Instead, a default value is now returned if the value from the API is unknown. Previously the unknown value was returned.

10.4.0

- Raised minimum PHP requirement to 8.1
- All routes were changed from a version to "latest".

10.3.0

- For some endpoints the version number was *decreased*. According to CCP (on [Discord](https://discord.gg/eveonline), [here](https://discord.com/channels/940573867192221696/972841377798946896/1370110391677620425)), all versions are now identical. This is probably related to .

10.1.0

- With OpenAPI Generator v7.9.0 error handling changed (in some cases, an error object is returned instead of an exception being thrown), see [OpenAPITools/openapi-generator#19483](https://github.com/OpenAPITools/openapi-generator/pull/19483).

10.0.0

- Added patch that removes the exception if a response contains more elements than declared.

8.0.0

- Raised minimum PHP requirement to 7.4

7.1.0

- Require Guzzle HTTP client ^7.3.

7.0.0

- Raised minimum PHP requirement to 7.3

6.1.0

- Require guzzlehttp/psr7 &lt; version 2 (this library uses functions that were removed in 2.0).

5.0.0

- Added patch to allow Guzzle HTTP client ^7.2 together with ^6.2 (7.2 requires PHP ^7.2.5 || ^8.0).

4.0.0

- Removed previous patches.
- Added patch to removed validation of all enum attributes.

3.2.0

- Added DISABLE\_TYPE\_VALIDATION.patch: Disables validation of character notification type (CCP adds new types without increasing the endpoint version or mentioning it in the changelog).

3.1.0

- Added TYPE\_WAR\_ADOPTED2.patch: The notification type "WarAdopted " has a space at the end in the swagger\_latest.json file and in the response from ESI. But the generated client somehow removes that, so the validation fails. This patch adds "WarAdopted ".

Installation &amp; Usage
------------------------

[](#installation--usage)

### Requirements

[](#requirements)

PHP 8.1 and later.

### Composer

[](#composer)

To install the bindings via [Composer](https://getcomposer.org/), add the following to `composer.json`:

```
{
  "require": {
    "tkhamez/swagger-eve-php": "~11.0.0"
  }
}
```

Then run `composer install`

### Manual Installation

[](#manual-installation)

Download the files and include `autoload.php`:

```
