PHPackages                             matepaiva/wp-graphql-crb - 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. matepaiva/wp-graphql-crb

ActiveLibrary[API Development](/categories/api)

matepaiva/wp-graphql-crb
========================

Wordpress wrapper to expose Carbon Fields to WpGraphQL queries

0.0.7(2y ago)248.4k↓33.3%5[2 issues](https://github.com/matepaiva/wp-graphql-crb/issues)MITPHP

Since Feb 22Pushed 2y ago3 watchersCompare

[ Source](https://github.com/matepaiva/wp-graphql-crb)[ Packagist](https://packagist.org/packages/matepaiva/wp-graphql-crb)[ RSS](/packages/matepaiva-wp-graphql-crb/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (8)Used By (0)

WpGraphQLCrb
============

[](#wpgraphqlcrb)

A Wordpress wrapper to expose Carbon Fields to WpGraphQL queries.

Important
---------

[](#important)

This is just the first version. There is a lot of work to be done. This packages exposes all the fields of the container, if the container type is `post_meta`, `term_meta`, `user_meta`, `comment_meta` or `theme_options`.

> Note: This is a very experimental version, so it is probably shipped with bugs.

Usage
-----

[](#usage)

1. First you have to install Carbon Fields and WpGraphQL.
2. Then install this package via packagist: `composer require matepaiva/wp-graphql-crb`
3. Wrap every Carbon Field container that you want to expose via GraphQL with the static method `WpGraphQLCrb\Container::register`. For example:

```
