PHPackages                             hsimah-services/wp-graphql-mb-relationships - 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. hsimah-services/wp-graphql-mb-relationships

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

hsimah-services/wp-graphql-mb-relationships
===========================================

WPGraphQL integration for MB Relationships

0.4.0(5y ago)11312[3 issues](https://github.com/hsimah-services/wp-graphql-mb-relationships/issues)GPL-3.0-or-laterPHPPHP ^7.1||^8.0

Since Jul 25Pushed 5y ago3 watchersCompare

[ Source](https://github.com/hsimah-services/wp-graphql-mb-relationships)[ Packagist](https://packagist.org/packages/hsimah-services/wp-graphql-mb-relationships)[ RSS](/packages/hsimah-services-wp-graphql-mb-relationships/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

wp-graphql-mb-relationships
===========================

[](#wp-graphql-mb-relationships)

WPGraphQL Provider for MB Relationships

This is a simple WPGraphQL integration plugin for Meta Box Relationships. **It only supports post types at the moment.**

There are three new fields to add to the API configuration:

- `show_in_graphql` - a boolean to show the connection in the schema
- `graphql_name` - the name of the connection field in the schema
- `graphql_args` - the connection args (optional)
- `resolve` - the resolve handler (see WPGraphQL documentation) (experimental)
- `resolve_node` - the node resolve handler (see WPGraphQL documentaiton) (experimental)

```
MB_Relationships_API::register( [
  'id'     => 'linked_posts',
  'from'   => array(
      'show_in_graphql' => true,
      'graphql_name' => 'goingUp',
      'graphql_args' => [
        'higher' => [
	  'type' => 'Boolean',
	  'description' => 'Field Description',
         ],
       ],
      'object_type' => 'post',
      'post_type'   => 'mypost',
      'meta_box'    => [
          'title'         => 'Going Up!',
          'context'       => 'side',
      ],
    ],
    'to'    => [
      'show_in_graphql' => true,
      'graphql_name' => 'goingDown',
      'object_type' => 'post',
      'post_type'   => 'mypost',
      'meta_box'    => [
          'title'         => 'Going Down!',
          'context'       => 'side',
          'empty_message' => 'None',
      ],
    ],
  ]
);

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% 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

Unknown

Total

1

Last Release

2170d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/895ef5d827a0d137430adeedb3c99a260d8e2c7ac5e193aaf0e114d46e7d09dd?d=identicon)[hsimah](/maintainers/hsimah)

---

Top Contributors

[![hsimah](https://avatars.githubusercontent.com/u/10041901?v=4)](https://github.com/hsimah "hsimah (16 commits)")[![rodrigo-arias](https://avatars.githubusercontent.com/u/11416255?v=4)](https://github.com/rodrigo-arias "rodrigo-arias (1 commits)")

### Embed Badge

![Health badge](/badges/hsimah-services-wp-graphql-mb-relationships/health.svg)

```
[![Health](https://phpackages.com/badges/hsimah-services-wp-graphql-mb-relationships/health.svg)](https://phpackages.com/packages/hsimah-services-wp-graphql-mb-relationships)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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