PHPackages                             roborourke/wp-graphql-meta - 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. roborourke/wp-graphql-meta

ActiveLibrary[API Development](/categories/api)

roborourke/wp-graphql-meta
==========================

Meta data helper for wp-graphql

21238[1 PRs](https://github.com/roborourke/wp-graphql-meta/pulls)PHP

Since May 20Pushed 5y ago4 watchersCompare

[ Source](https://github.com/roborourke/wp-graphql-meta)[ Packagist](https://packagist.org/packages/roborourke/wp-graphql-meta)[ RSS](/packages/roborourke-wp-graphql-meta/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

WP GraphQL Meta
===============

[](#wp-graphql-meta)

This plugin is an add-on for the awesome [WP GraphQL](https://github.com/wp-graphql/wp-graphql)

It builds on top of both WP GraphQL and the REST API. Any meta data you register using `register_meta()` will be available to retrieve in your results. You get your data in the REST API and GraphQL at the same time.

Installing
----------

[](#installing)

1. Make sure that [WP GraphQL](https://github.com/wp-graphql/wp-graphql) is installed and activated first.
2. Upload this repo (or git clone) to your plugins folder and activate it.

Usage
-----

[](#usage)

Your theme or other plugins may use meta data to add custom functionality. That data or functionality can be beneficial / required for a front end or other app that consumes your API.

```
register_meta( 'post', 'custom-key', array(
    'type' => 'string', // number, boolean, integer or a type from WPGraphQL\Types
    'description' => 'My custom field',
    'single' => true,   // Whether to make this require a list or not.
    'show_in_rest' => true, // Required to make this field public.
) );
```

NOTE: If you use `WPGraphQL\Types` instance the built in REST API will ignore the field.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/77dbeefb7745010589603f2ffc6ff310d8f700b58e08d52af190744c43342526?d=identicon)[roborourke](/maintainers/roborourke)

---

Top Contributors

[![roborourke](https://avatars.githubusercontent.com/u/23417?v=4)](https://github.com/roborourke "roborourke (5 commits)")

---

Tags

graphqlwordpress

### Embed Badge

![Health badge](/badges/roborourke-wp-graphql-meta/health.svg)

```
[![Health](https://phpackages.com/badges/roborourke-wp-graphql-meta/health.svg)](https://phpackages.com/packages/roborourke-wp-graphql-meta)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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