Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

GraphQL Export

Security covered Under active development 137 sites

Part of the Graphql ecosystem · 39 projects

This module exports your GraphQL schemas and introspection data to files. You can access this functionality through a web UI or Drush commands, making it useful for providing schema information to detached frontend applications.

GraphQL Export

GraphQL Export enables exporting your GraphQL schemas and introspection data to files.

An example usage: You have Drupal and a detached frontend in a monorepo. You can use this module to export the full schema to the frontend application on config export for usage by frontend tooling.

This module enables:

Web UI

This module will expose a simple interface at /admin/config/graphql/servers/manage/SERVER_MACHINE_ID_HERE/export where you can see and manually export the schema.

Exporting with Drush

To enable drush exporting, optionally add the following to your settings.php:

$settings['graphql_export'] = [
  'SERVER_MACHINE_ID_HERE' => [
    'graphqls' => '../path/to/save/schema.graphqls',
    'json' => '../path/to/save/schema.json',
  ],
];

Run drush config:export to export your files.

You can change the file paths to whatever you like, as long as the path is writable by Drupal when exporting your config.

GraphQL 3.x support

Use the 8.x-1x branch. This version is not actively maintained. It only has drush integration, and there is slight differences in the settings required. View branch README for more info.

Drupal 10–11

Ask your assistant about GraphQL Export

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
11
Tracked since
Aug 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.0.6 Stable 10–11 Oct 15, 2025
3.0.0-alpha1 Pre-release 10–11 Oct 15, 2025
3.0.x-dev Dev 10–11 Oct 15, 2025
2.0.5 Stable 10–11 Apr 3, 2025
2.0.4 Stable 10–11 Feb 12, 2025
8.x-1.0-alpha4 Pre-release 8–10 Sep 5, 2023
2.0.3 Stable 9–10 PHP 8.1 Sep 5, 2023
2.0.2 Stable 9–10 PHP 8.1 Aug 30, 2023
2.0.1 Stable 9–10 PHP 8.1 Aug 27, 2023
2.0.0 Stable 9–10 PHP 8.1 Aug 26, 2023