# GraphQL Support

**URL:** <https://community.localwp.com/t/graphql-support/3059>\
**Category:** Feature requests\
**Created:** [September 30, 2017, 5:23pm UTC](https://community.localwp.com/t/graphql-support/3059 "2017-09-30T17:23:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leepeterson](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/leepeterson/32/4537_2.png) [@leepeterson](https://community.localwp.com/u/leepeterson)\
**Post date:** [September 30, 2017, 5:23pm UTC](https://community.localwp.com/t/graphql-support/3059/1 "2017-09-30T17:23:26Z")

</div>

There’s tremendous forward momentum within the WP community surrounding GraphQL vs REST. I, for one, would welcome such an addition within Local.

Perhaps this should be part of a larger discussion about automatically installing `composer`, supporting custom WP filesystem structures, SPAs, etc. but thought I’d leave the request anyway.

How to support? Automatic install of [https://github.com/webonyx/graphql-php](https://github.com/webonyx/graphql-php) and/or [https://github.com/ivome/graphql-relay-php/](https://github.com/ivome/graphql-relay-php/) or similar; documentation about REST vs GraphQL and working with them locally via Local; things like that.

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [September 14, 2021, 3:54pm UTC](https://community.localwp.com/t/graphql-support/3059/2 "2021-09-14T15:54:33Z")

</div>

I know that this is a very old topic and the landscape has changed considerably (headless is even more center-stage, and there’s the [WPGraphQL plugin](https://www.wpgraphql.com/) for WordPress. I’m trying to clean-up old topics and either advocate for them internally, or close them out.

In the case of this feature request, are you mostly wanting a way for Local to scaffold out a WordPress site that has GraphQL configured with the aim of the site being a “headless WP site”?

Or are you thinking more along the lines of Local haveing a GraphQL endpoint so that you can control Local remotely?

In the first case, the Atlas Add-on helps you quickly create a Headless WordPress site which includes a few plugins and settings for the WP backend, along with a client-side JS app:

- Forum category: [Atlas: Headless WP - Local Community](http://community.localwp.com/c/local-add-ons/atlas-headless-wp/31)
- Addon page: [https://localwp.com/add-ons/local-addon-headless](https://localwp.com/add-ons/local-addon-headless)
