PHPackages                             johnshopkins/acf-hub-api - 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. johnshopkins/acf-hub-api

ActiveWordpress-plugin[API Development](/categories/api)

johnshopkins/acf-hub-api
========================

Advanced Custom field that enables users to select content from the Hub API

1.2.0(1y ago)03.1kGPL-2.0-or-laterJavaScriptPHP &gt;=8.1

Since Feb 14Pushed 1y ago2 watchersCompare

[ Source](https://github.com/johnshopkins/acf-hub-api)[ Packagist](https://packagist.org/packages/johnshopkins/acf-hub-api)[ Docs](https://github.com/johnshopkins/acf-hub-api)[ RSS](/packages/johnshopkins-acf-hub-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

Hub API Content Picker
======================

[](#hub-api-content-picker)

Advanced Custom field that enables users to select content from the Hub API.

Installation via Composer
-------------------------

[](#installation-via-composer)

In your composer.json file, be sure to let Composer know where to install WordPress plugins:

```
{
  "extra": {
    "installer-paths": {
      "path/tp/plugins/{$name}/": [
        "type:wordpress-plugin"
      ]
    }
  }
}
```

Require the plugin:

```
composer require johnshopkins/acf-hub-api
```

In wp-config.php or your theme's functions file, define your Hub auhthentication:

```
const HUB_API_KEY = '{your_api_key}';
const HUB_API_VERSION = 1;
```

Activate the plugin in WordPress.

Field value
-----------

[](#field-value)

When getting the value of the field, you will receive an array with endpoint parts, like so:

```
[
  'collection' => string 'tags',
  'id' => int 384,
  'subcollection' => string 'articles'
]
```

It is up to your theme to query the API and fetch the results.

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance47

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Recently: every ~187 days

Total

7

Last Release

423d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11e1b915549459b87bab747538857fb810a047407ad1a0eeee929e23908d5490?d=identicon)[jenwachter](/maintainers/jenwachter)

---

Top Contributors

[![jenwachter](https://avatars.githubusercontent.com/u/1202305?v=4)](https://github.com/jenwachter "jenwachter (24 commits)")

### Embed Badge

![Health badge](/badges/johnshopkins-acf-hub-api/health.svg)

```
[![Health](https://phpackages.com/badges/johnshopkins-acf-hub-api/health.svg)](https://phpackages.com/packages/johnshopkins-acf-hub-api)
```

###  Alternatives

[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[a2design-company/mandrill-cakephp-plugin

Mandrill CakePHP plugin

193.2k](/packages/a2design-company-mandrill-cakephp-plugin)

PHPackages © 2026

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