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.1(1mo ago)03.3kMITPHP

Since Aug 18Pushed 1mo 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 yesterday

READMEChangelog (10)Dependencies (8)Versions (15)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

48

—

FairBetter than 93% of packages

Maintenance94

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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 ~115 days

Recently: every ~213 days

Total

13

Last Release

30d 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 (18 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

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