PHPackages                             elvishp2006/carbon-field-rest-api-select - 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. elvishp2006/carbon-field-rest-api-select

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

elvishp2006/carbon-field-rest-api-select
========================================

Carbon Fields extension, that adds a rest\_api\_select field type.

v0.4.1(6y ago)105031[1 issues](https://github.com/elvishp2006/carbon-field-rest-api-select/issues)[22 PRs](https://github.com/elvishp2006/carbon-field-rest-api-select/pulls)GPL-2.0+JavaScript

Since Aug 30Pushed yesterdayCompare

[ Source](https://github.com/elvishp2006/carbon-field-rest-api-select)[ Packagist](https://packagist.org/packages/elvishp2006/carbon-field-rest-api-select)[ RSS](/packages/elvishp2006-carbon-field-rest-api-select/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (5)Versions (33)Used By (0)

Carbon Field REST API Select
============================

[](#carbon-field-rest-api-select)

Disponibilize the `rest_api_select` field that fill options using the WP REST API.

Installing
----------

[](#installing)

```
composer require elvishp2006/carbon-field-rest-api-select

```

Example
-------

[](#example)

```
Field::make( 'rest_api_select', 'id', __( 'Post' ) )
    ->set_endpoint_label_path( 'title.rendered' ) // Default: 'title.rendered'
    ->set_endpoint_value_path( 'id' )             // Default 'id'
    ->set_endpoint_search_param( 'search' )       // Default 'search'
    ->set_endpoint_params(
        [
            'per_page' => 20,
            'orderby'  => 'relevance',
        ]
    )
    ->set_endpoint( rest_url( 'wp/v2/posts' ) )
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance63

Regular maintenance activity

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~37 days

Recently: every ~22 days

Total

8

Last Release

2549d ago

### Community

Maintainers

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

---

Top Contributors

[![elvishp2006](https://avatars.githubusercontent.com/u/7463100?v=4)](https://github.com/elvishp2006 "elvishp2006 (86 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (41 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![guilhermehrcosta](https://avatars.githubusercontent.com/u/13009224?v=4)](https://github.com/guilhermehrcosta "guilhermehrcosta (3 commits)")

---

Tags

carbon-fieldswordpresswordpresscarbon-fieldcarbon-field-rest-api-select

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/elvishp2006-carbon-field-rest-api-select/health.svg)

```
[![Health](https://phpackages.com/badges/elvishp2006-carbon-field-rest-api-select/health.svg)](https://phpackages.com/packages/elvishp2006-carbon-field-rest-api-select)
```

###  Alternatives

[htmlburger/carbon-field-icon

Carbon Fields extension, that adds a Icon field type.

198.7k](/packages/htmlburger-carbon-field-icon)[iamntz/carbon-fields-urlpicker

Carbon Fields extension that adds a URL picker field type.

1438.6k](/packages/iamntz-carbon-fields-urlpicker)

PHPackages © 2026

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