harness-software / wp-graphql-gravity-forms
Adds WPGraphQL support for Gravity Forms
Installs: 50 799
Dependents: 0
Suggesters: 0
Security: 0
Stars: 165
Watchers: 11
Forks: 29
Open Issues: 17
Type:wordpress-plugin
Requires
- php: >=7.4
- yahnis-elsts/plugin-update-checker: ^5.2.0
Requires (Dev)
- axepress/wp-graphql-cs: ^2.0.0-beta
- axepress/wp-graphql-stubs: ^1.11.1
- codeception/lib-innerbrowser: ^1.0
- codeception/module-asserts: ^1.0
- codeception/module-cli: ^1.0
- codeception/module-db: ^1.0
- codeception/module-filesystem: ^1.0
- codeception/module-phpbrowser: ^1.0
- codeception/module-rest: ^1.0
- codeception/module-webdriver: ^1.0
- codeception/phpunit-wrapper: ^9.0
- codeception/util-universalframework: ^1.0
- lucatume/wp-browser: <3.5
- php-coveralls/php-coveralls: ^2.5
- phpcompatibility/php-compatibility: dev-develop as 9.99.99
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.2
- phpunit/phpunit: ^9.0
- szepeviktor/phpstan-wordpress: ^1.0
- wp-cli/wp-cli-bundle: ^2.8.1
- wp-graphql/wp-graphql-testcase: ~3.3.0
- dev-develop
- v0.13.0.1
- v0.13.0
- 0.12.6.1
- v0.12.6
- v0.12.5
- v0.12.4
- v0.12.3
- v0.12.2
- v0.12.1
- v0.12.0
- v0.11.11
- v0.11.10
- v0.11.9
- v0.11.8
- v0.11.7
- v0.11.6
- v0.11.5
- v0.11.4
- v0.11.3
- v0.11.2
- v0.11.1.1
- v0.11.1
- v0.11.0
- v0.10.5
- v0.10.4
- v0.10.3
- v0.10.2
- v0.10.1
- v0.10.0.1
- v0.10.0
- v0.9.2.3
- v0.9.2.2
- v0.9.2.1
- v0.9.2
- v0.9.1
- v0.9.0
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.3
- v0.7.2.1
- v0.7.2
- v0.7.1
- 0.7.0
- 0.6.3
- 0.6.2.2
- 0.6.2.1
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.1
- 0.3.0
- v0.2.1
- 0.2.0
- dev-main
This package is auto-updated.
Last update: 2024-12-03 00:24:24 UTC
README
WPGraphQL for Gravity Forms
A WordPress plugin that adds WPGraphQL support for Gravity Forms.
Overview
The WPGraphQL for Gravity Forms plugin is a powerful extension for WPGraphQL that provides a comprehensive suite of features that allows developers to interact with Gravity Forms via GraphQL.
This plugin enhances the developer experience by offering a GraphQL schema tailored for Gravity Forms. The schema provides improved type safety, prevents over-fetching, and makes it easier to interact with your forms and entries than (and even provides functionality not available in) Gravity Form's traditional PHP and REST APIs.
WPGraphQL for Gravity Forms is an essential tool for those leveraging decoupled and headless WordPress architectures. Whether you're using WordPress as a data source for your headless application, integrating Gravity Forms data into an external service, or building custom, interactive form experiences, this plugin offers improved developer experience and features to make your frontend code more robust. It's designed to be a versatile tool, capable of handling any decoupled project from simple form submissions to complex, form-driven applications scalable at an enterprise level.
System Requirements
- PHP: 7.4-8.2+
- WordPress: 6.0+
- WPGraphQL: 1.26.0+
- Gravity Forms: 2.7+
- Recommended: WPGraphQL Upload - used for File Upload and Post Image submissions.
Quick Install
- Install & activate WPGraphQL.
- Install & activate Gravity Forms and any supported addons.
- Download the
wp-graphql-gravity-forms.zip
file from the latest release upload it to your WordPress install, and activate the plugin.
Important
Make sure you are downloading the wp-graphql-gravity-forms.zip
file from the releases page, not the Source code (zip)
file nor a clone of the repository.
If you wish to use the source code, you will need to run composer install
inside the plugin folder to install the required dependencies.
With Composer
composer require harness-software/wp-graphql-gravity-forms
Updating and Versioning
As we work towards a 1.0 Release, we will need to introduce numerous breaking changes. We will do our best to group multiple breaking changes together in a single release, to make it easier on developers to keep their projects up-to-date.
Until we hit v1.0, we're using a modified version of Semantic Versioning
v0.x: "Major" releases. These releases introduce new features, and may contain breaking changes to either the PHP API or the GraphQL schema. v0.x.y: "Minor" releases. These releases introduce new features and enhancements and address bugs. They do not contain breaking changes. v0.x.y.z: "Patch" releases. These releases are reserved for addressing issue with the previous release only.
Development and Support
Development of WPGraphQL for Gravity Forms is provided by AxePress Development. Community contributions are welcome and encouraged.
Basic support is provided for free, both in this repo and in WPGraphQL's official Discord.
Priority support and custom development are available to our Sponsors.
Supported Features
- Querying forms and entries.
- Submitting forms.
- Updating entries and draft entries.
- Deleting entries and draft entries.
- Triggering builds with WPGatsby and Jamstack Deployments
Future Feature Enhancements
- Add support for remaining form fields
- Ability to query for lists of draft entries.
- Ability to create, update, and delete an individual Gravity Form.
Documentation
- Supported Gravity Forms form fields
- Using Global IDs vs Database IDs
- Querying forms
- Querying entries & draft entries
- Querying
formFields
and their values - Submitting forms
- Updating entries & draft entries
- Deleting entries & draft entries
- Internationalization & Localization
- Actions & Filters
Recipes
- Register a Gravity Forms Form to a custom GraphQL field
- Register a custom GraphQL connection to Gravity Forms entries
- Register a custom Gravity Forms field to the GraphQL schema
- Add GraphQL mutation support for a custom Gravity Forms field