Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

graphql

6,979 sites Security covered
View on drupal.org

This module lets you craft and expose a GraphQL schema for Drupal 10 and 11.

It is is built around webonyx/graphql-php. As such, it supports the full official GraphQL specification with all its features.

You can use this module as a foundation for building your own schema with lots of data producer plugins available and through custom code.

For ease of development, it includes the GraphiQL interface at /graphql/explorer.

Example implementation

Example modules: https://git.drupalcode.org/project/graphql/-/tree/8.x-4.x/examples

Resources

Documentation: https://drupal-graphql.gitbook.io/graphql/
Project homepage: https://www.drupal.org/project/graphql

Old 3.x version

The 3.x version of this module is now in maintenance mode and is looking for new maintainers!

Differences to the 4.x version: the 3.x version automatically generates a GraphQL schema from Drupal entities and data structures. It exposes Drupal details over the GraphQL API. The 4.x version leaves the GraphQL schema design to the developer, which makes it easier to hide Drupal internal details. The 4.x version requires the developer to setup and map the GraphQL API schema.

Check out https://github.com/drupal-graphql/drupal-decoupled-app for a complete example of a fully decoupled React and GraphQL 3.x application.

Upgrading from 3.x to 4.x

We recommend upgrading from 3.x to 4.x to take advantage of the improvements made in the GraphQL module and the underlying GraphQL library. If you still require automatic generation of the schema then take a look at the GraphQL Compose or GraphQL Core Schema projects which have implemented automatic schema generation on top of the 4.x GraphQL module.

Activity

Total releases
17
First release
Dec 2024
Latest release
3 weeks ago
Release cadence
32 days
Stability
47% stable

Release Timeline

Releases

Version Type Release date
5.0.0-rc1 Pre-release May 9, 2026
5.0.0-beta4 Pre-release Apr 29, 2026
8.x-4.14 Stable Apr 29, 2026
5.0.0-beta3 Pre-release Apr 26, 2026
8.x-3.9 Stable Apr 15, 2026
8.x-3.8 Stable Mar 3, 2026
5.0.0-beta2 Pre-release Feb 19, 2026
8.x-3.7 Stable Feb 12, 2026
5.0.0-beta1 Pre-release Sep 9, 2025
8.x-4.13 Stable Sep 9, 2025
5.0.0-alpha3 Pre-release Aug 17, 2025
5.0.0-alpha2 Pre-release Jul 10, 2025
5.0.0-alpha1 Pre-release Apr 19, 2025
8.x-4.12 Stable Mar 28, 2025
8.x-4.11 Stable Mar 19, 2025
5.x-dev Dev Mar 15, 2025
8.x-4.10 Stable Dec 10, 2024