PHPackages                             opdavies/drupalorg-api-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. opdavies/drupalorg-api-php

ActiveLibrary

opdavies/drupalorg-api-php
==========================

PHP library for the Drupal.org API

0.2.0(8y ago)2241[3 issues](https://github.com/opdavies/drupalorg-api-php/issues)[1 PRs](https://github.com/opdavies/drupalorg-api-php/pulls)PHPPHP ^5.6|^7

Since Mar 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/opdavies/drupalorg-api-php)[ Packagist](https://packagist.org/packages/opdavies/drupalorg-api-php)[ RSS](/packages/opdavies-drupalorg-api-php/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

PHP library for the Drupal.org API
==================================

[](#php-library-for-the-drupalorg-api)

This library provides convenient wrapper functions for Drupal.org’s REST API. The API is [documented here](https://www.drupal.org/api).

Examples
--------

[](#examples)

### Nodes

[](#nodes)

```
$nids = [107871, 2945793, 1306976];
$query = new NodeQuery();
$query->setOptions(['query' => ['type' => Node::TYPE_MODULE, 'nid' => $nids]]);
$nodes = $query->execute()->getContents()->all();
```

### Users

[](#users)

```
$uids = [1, 381388];
$query = new UserQuery();
$query->setOptions(['query' => ['uid' => $uids]]);
$users = $query->execute()->getContents()->all();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.4% 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 ~42 days

Total

2

Last Release

2953d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/611a0cd6dc77cbf85694f453a614f0d7330afaf758e13e5f37001621cf9d2b87?d=identicon)[opdavies](/maintainers/opdavies)

---

Top Contributors

[![opdavies](https://avatars.githubusercontent.com/u/339813?v=4)](https://github.com/opdavies "opdavies (14 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/opdavies-drupalorg-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/opdavies-drupalorg-api-php/health.svg)](https://phpackages.com/packages/opdavies-drupalorg-api-php)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[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)
