Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Config Export JSON

Security covered Under active development 2 sites

This project allows you to export your Drupal configuration as JSON. This JSON file can then be accessed by other applications or frameworks.

This project allows you to export your configs as a JSON to be accessed by any other application / Framework

How export your config to JSON

$config = [
  'customProject' => [
    'key1' => 'value1',
    'key2' => 'value2',
    'key3' => 'value3',
    'keyX' => 'valueX',
  ],
];

\Drupal::service("config_export_json.api")->add($config);

JSON

You can access at:
https://yoursite.local/sites/default/files/config/config.json

P.s. If your prefer you can access your JSON at:
https://yoursite.local/api/config.json

Example:

Drupal 8–10 · not 11

Ask your assistant about Config Export JSON

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

  • config Drupal core
  • rest Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
8.x-1.9 Stable 8–10 Sep 7, 2023