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)11293[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 1w 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

26

—

LowBetter than 43% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity18

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

2123d 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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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