PHPackages                             tarioch/eveapi-fetcher-bundle - 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. tarioch/eveapi-fetcher-bundle

ActiveSymfony-bundle[API Development](/categories/api)

tarioch/eveapi-fetcher-bundle
=============================

Provides automatic EVE Online Api fetching to your Symfony2 project.

31871[3 issues](https://github.com/tarioch/eveapi-fetcher-bundle/issues)PHP

Since Dec 17Pushed 10y ago5 watchersCompare

[ Source](https://github.com/tarioch/eveapi-fetcher-bundle)[ Packagist](https://packagist.org/packages/tarioch/eveapi-fetcher-bundle)[ RSS](/packages/tarioch-eveapi-fetcher-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

EVE Api Fetcher Bundle
======================

[](#eve-api-fetcher-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/8dca89346f7912bdfaa6164597fa1e9f85a73bd6ff9e3552e31f564481118b82/68747470733a2f2f706f7365722e707567782e6f72672f746172696f63682f6576656170692d666574636865722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/tarioch/eveapi-fetcher-bundle)[![Build Status](https://camo.githubusercontent.com/cbafb8bcc80470f0e91cf7847ad41c076265230724dc28621ce9e93e510d6288/68747470733a2f2f7472617669732d63692e6f72672f746172696f63682f6576656170692d666574636865722d62756e646c652e706e67)](https://travis-ci.org/tarioch/eveapi-fetcher-bundle)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/59309b4ba0fd178f1e55fb53d0f49090faf64fd2cb429f6c4fe0e8e98e229dce/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746172696f63682f6576656170692d666574636865722d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f733d31306231313832356631626637636333313130386437383534393161373833663037313431386434)](https://scrutinizer-ci.com/g/tarioch/eveapi-fetcher-bundle/)[![SensioLabsInsight](https://camo.githubusercontent.com/c04856271b40f207d8fd50e2cf4c4a4b558559c5764c34d1be21004e69615020/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f33313732626563342d653764322d343637642d383030632d6465626566633137623131382f6d696e692e706e67)](https://insight.sensiolabs.com/projects/3172bec4-e7d2-467d-800c-debefc17b118)

Copyright (C) 2013 - 2015 by Patrick Ruckstuhl All rights reserved.

Symfony bundle for automatic fetching of the EVE Online API, heavily inspired by [Yapeal](http://code.google.com/p/yapeal/) and makes use of [PhealNG](https://github.com/3rdpartyeve/phealng)

LICENSE
-------

[](#license)

EVE Api Fetcher Bundle is licensed under a MIT style license, see LICENSE.txt for further information

Dependencies
------------

[](#dependencies)

- Gearman Server + PHP Module:
- Symfony
- Optional: Supervisord

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

[](#installation)

First you need to add `tarioch/eveapi-fetcher-bundle` to `composer.json`:

```
{
   "require": {
        "tarioch/eveapi-fetcher-bundle": "dev-master"
    }
}
```

### Bundles

[](#bundles)

You have to add the following Bundles to your `AppKernel.php`:

```
// app/AppKernel.php
//...
class AppKernel extends Kernel
{
    //...
    public function registerBundles()
    {
        $bundles = array(
            ...
            new JMS\DiExtraBundle\JMSDiExtraBundle($this),
            new JMS\AopBundle\JMSAopBundle(),
            new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),
            new Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle(),
            new Mmoreram\GearmanBundle\GearmanBundle(),
            new Tarioch\PhealBundle\TariochPhealBundle(),
            new Tarioch\EveapiFetcherBundle\TariochEveapiFetcherBundle(),
        );
        //...

        return $bundles;
    }
    //...
}
```

### Configuration

[](#configuration)

You have to add the following things to your config

- Annotation parsing
- Entity manager
- Doctrine migrations
- Gearman

```
// app/config/config.yml
// ...
jms_di_extra:
    locations:
        all_bundles: false
        bundles: [TariochPhealBundle, TariochEveapiFetcherBundle]

doctrine:
    dbal:
        connections:
                eveapi:
                        driver:   "%database_driver%"
                        host:     "%database_host%"
                        port:     "%database_port%"
                        dbname:   "%database_eveapi_name%"
                        user:     "%database_user%"
                        password: "%database_password%"
                        charset:  UTF8
                        mapping_types:
                                enum: string

    orm:
        entity_managers:
                eveapi:
                        connection: eveapi
                        mappings:
                                TariochEveapiFetcherBundle: ~

doctrine_migrations:
    # workaround, see http://stackoverflow.com/questions/17066670/symfony2-change-migration-directory
    dir_name: '%kernel.root_dir%/../vendor/tarioch/eveapi-fetcher-bundle/Tarioch/EveapiFetcherBundle/DoctrineMigrations'

doctrine_cache:
    providers:
        gearman_cache:
            type: file_system
            namespace: doctrine_cache.ns.gearman

gearman:
    bundles:
        TariochEveapiFetcherBundle:
            name: TariochEveapiFetcherBundle
            active: true
            include:
                - Component/Worker
    defaults:
        method: doNormal
        iterations: 50
        callbacks: false
        job_prefix: null
        generate_unique_key: true
        workers_name_prepend_namespace: false

    servers:
        localhost:
            host: 127.0.0.1
            port: 4730

tarioch_pheal:
    user_agent: yourname@example.tld
```

Database
--------

[](#database)

For getting the correct database schema, run

```
php app/console doctrine:migrations:migrate --em=eveapi

```

Running
-------

[](#running)

The best way to run this is to have a minutely cron job that schedules missing api calls and use supervisord for actually running the workers.

### Cronjob

[](#cronjob)

```
* * * * * su www-data -c '/usr/bin/php /path/to/app/console eve:api:schedule --env=prod'

```

### Supervisord

[](#supervisord)

```
[program:evetool]
process_name=evetool%(process_num)s
command=/usr/bin/php /path/to/app/console gearman:worker:execute TariochEveapiFetcherEveWorker --env=prod --no-interaction
numprocs=10
autostart=true
autorestart=true
user=www-data

```

Getting started
---------------

[](#getting-started)

Simply insert a key into the table apiKey and all available and implemented api data will be fetched.

Help
----

[](#help)

Feel free to open an issue if you have an issues or questions.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bda79a67f1e7aba098ebde22095880c2555ae48e0f8726f209a9c442e2bb461?d=identicon)[tarioch](/maintainers/tarioch)

---

Top Contributors

[![tarioch](https://avatars.githubusercontent.com/u/2998148?v=4)](https://github.com/tarioch "tarioch (300 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

![Health badge](/badges/tarioch-eveapi-fetcher-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tarioch-eveapi-fetcher-bundle/health.svg)](https://phpackages.com/packages/tarioch-eveapi-fetcher-bundle)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
