PHPackages                             3rdpartyeve/phealng - 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. [API Development](/categories/api)
4. /
5. 3rdpartyeve/phealng

AbandonedArchivedLibrary[API Development](/categories/api)

3rdpartyeve/phealng
===================

PHP Eve Api Library, a simple PHP lib to access the EVE Online API

2.3.5(9y ago)6716.0k163MITPHPPHP &gt;=5.4.0

Since Dec 8Pushed 7y ago21 watchersCompare

[ Source](https://github.com/3rdpartyeve/phealng)[ Packagist](https://packagist.org/packages/3rdpartyeve/phealng)[ Docs](https://github.com/3rdpartyeve/phealng)[ RSS](/packages/3rdpartyeve-phealng/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (30)Used By (3)

DEPRECATED AND ARCHIVED
=======================

[](#deprecated-and-archived)

CCP recently (2018) ended the XML API, thus there isn't really a point in continuing this library. This repository has been archived in case you ever need access to the code again, but if you read this its very likely that this library is not what you have been looking for.

regards, PP

PhealNG
=======

[](#phealng)

[![Latest Stable Version](https://camo.githubusercontent.com/05d0de2fff2eef339c03df92df2ab925e67b84e52a0a70171d1c2bec123c1ced/68747470733a2f2f706f7365722e707567782e6f72672f33726470617274796576652f706865616c6e672f762f737461626c652e706e67)](https://packagist.org/packages/3rdpartyeve/phealng)[![Total Downloads](https://camo.githubusercontent.com/30e41cc183b816a2abf42a34f75119b567f4a528193effaa491c76821536be1a/68747470733a2f2f706f7365722e707567782e6f72672f33726470617274796576652f706865616c6e672f646f776e6c6f6164732e706e67)](https://packagist.org/packages/3rdpartyeve/phealng)

Copyright (C) 2012 - 2018 by Peter Petermann All rights reserved.

PhealNG is a refactoring of Pheal to meet more modern PHP development standards, for example to support namespaces and PSR-0 classloading.

LICENSE
-------

[](#license)

Pheal is licensed under a MIT style license, see LICENSE.txt for further information

FEATURES
--------

[](#features)

- does not need to change when EVE API changes

REQUIREMENTS
------------

[](#requirements)

- PHP 5.4+

INSTALLATION
------------

[](#installation)

### composer

[](#composer)

PhealNG will be available as package 3rdpartyeve/phealng through packagist on composer , if you don't know composer yet, now is a good time to read up on it.

You can also download it from github, but life is so much easier with composer!

PhealNG Usage
-------------

[](#phealng-usage)

### Prequesites

[](#prequesites)

#### composer.json

[](#composerjson)

In your project root create a file named composer.json, containing the following json data:

```
{
    "require": {
        "3rdpartyeve/phealng": "~2.0"
    }
}
```

*Note:* replace ~2.0 by what ever version you want to use, you can use dev-master but it will likely be unstable.

*Hint:* PhealNG follows semantic versioning

*Hint:* [![Latest Stable Version](https://camo.githubusercontent.com/05d0de2fff2eef339c03df92df2ab925e67b84e52a0a70171d1c2bec123c1ced/68747470733a2f2f706f7365722e707567782e6f72672f33726470617274796576652f706865616c6e672f762f737461626c652e706e67)](https://packagist.org/packages/3rdpartyeve/phealng)

#### composer

[](#composer-1)

Composer is a tool intended to manage dependencies in PHP applications. If you haven't installed composer yet, checkout the composer installation here:

#### run composer

[](#run-composer)

Now in your projects root, run the following command, which will download PhealNG for you and update the vendor/autoload.php

```
$ php composer.phar install
```

### the most basic PhealNG Script

[](#the-most-basic-phealng-script)

this is a very basic example, which should be able to run on its own (with only pheal as dependency) obviously, if you use a framework, some of the steps might look different, for example if you use symfony2, you might already have composer working and already have the autoloading required.

PhealNG basically builds the request by the scope and the method called, in this example the scope used is "server" and the API page requested is ServerStatus.xml.aspx

For more information on the API Pages available, refer to [http://wiki.eve-id.net/APIv2\_Page\_Index](http://wiki.eve-id.net/APIv2_Page_Index)

```
