PHPackages                             acdh-oeaw/arche-openaire - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. acdh-oeaw/arche-openaire

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

acdh-oeaw/arche-openaire
========================

OpenAIRE usage tracking plugin for ARCHE

2.1.0(11mo ago)02.8kMITPHP

Since Aug 18Pushed 11mo ago4 watchersCompare

[ Source](https://github.com/acdh-oeaw/arche-openaire)[ Packagist](https://packagist.org/packages/acdh-oeaw/arche-openaire)[ Docs](https://github.com/acdh-oeaw/arche-openaire)[ RSS](/packages/acdh-oeaw-arche-openaire/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (0)

ARCHE OpenAIRE tracking plugin
==============================

[](#arche-openaire-tracking-plugin)

An [arche-core](https://github.com/acdh-oeaw/arche-core) plugin implementing [usage tracking trough the OpenAIRE](https://openaire.github.io/usage-statistics-guidelines/service-specification/service-spec/).

Installation
------------

[](#installation)

- Install with: ```
    composer require acdh-oeaw/arche-openaire

    ```
- Adjust your repository `config.yaml` so it contains the `openaire` section and defines `get` and `getMetadata` handlers: ```
    openaire:
      # OpenAIRE tracker URL
      url: "https://analytics.openaire.eu/piwik.php"
      # id of the repository in the OpenAIRE tracker
      id: 100
      # OpenAIRE auth token
      authToken: "OpenAIRETrackerAuthToken"
      # should client IP be tracked? (true/false)
      trackIp: false
      # should client's user agent header be tracked? (true/false)
      trackUserAgent: true
      # If the PID reported to the OpenAIRE tracker trough the cvar parameter
      # is not the PID of the resource, you should specify an SQL query fetching it.
      # Otherwise skip this property or set it to an empty value.
      pidQuery: |
        SELECT m.value
        FROM
          metadata m
          JOIN relations r ON r.target_id = m.id AND r.id = ? AND r.property = ?
      # pidQuery parameters. Use "{id}" to pass repository resource id
      pidQueryParam:
      - "{id}"
      - https://vocabs.acdh.oeaw.ac.at/schema#isPartOf
      # Tracking API connection timeout
      timeout: 1.0
    rest:
      handlers:
        methods:
          get:
          - type: function
            function: \acdhOeaw\arche\openaire\Handlers::onGet
          getMetadata:
          - type: function
            function: \acdhOeaw\arche\openaire\Handlers::onGetMetadata
    ```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance51

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~93 days

Recently: every ~126 days

Total

12

Last Release

346d ago

Major Versions

0.1.0 → 1.0.02022-08-18

1.3.1 → 2.0.02024-02-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/f1f662e3acb95efd9208cdcd2c97437db366044aea705985251760efcbd23070?d=identicon)[zozlak](/maintainers/zozlak)

---

Top Contributors

[![zozlak](https://avatars.githubusercontent.com/u/6503177?v=4)](https://github.com/zozlak "zozlak (17 commits)")

---

Tags

arche

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/acdh-oeaw-arche-openaire/health.svg)

```
[![Health](https://phpackages.com/badges/acdh-oeaw-arche-openaire/health.svg)](https://phpackages.com/packages/acdh-oeaw-arche-openaire)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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