This module extracts Drupal configuration elements and converts them into a PHP associative array. It provides a user-friendly interface to select configuration and generate a properly formatted PHP array ready for use in code, simplifying the process compared to Drupal's native YAML export.
πΊπ¦
This module is maintained by Ukrainian developers.Please consider supporting Ukraine in a fight for their freedom and safety of Europe.
The module is a utility that simplifies the extraction of configuration elements and their conversion into a PHP associative array. While Drupal's core provides configuration export functionality, it outputs data in YAML format, requiring additional conversion steps before it can be used in PHP code.
This module provides a user-friendly interface for selecting the configuration type and specific element, generating a properly formatted PHP array that is immediately ready for use. It ensures correct syntax formatting, including proper array key wrapping, colon-to-arrow replacement, trailing commas, and other necessary adjustments.
Additional Requirements
Ask your assistant about Config Export to PHP array
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
- Service
- config Drupal core >=8.7
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 3.0.4 | Stable | 8β11 | Dec 9, 2025 | ||
| 2.1.4 | Stable | 8β11 | Dec 9, 2025 | ||
| 3.0.3 | Stable | 8β11 | Jun 19, 2025 | ||
| 2.1.3 | Stable | 8β11 | Jun 19, 2025 | ||
| 3.0.2 | Stable | 8β11 | PHP 8 | Aug 1, 2024 | |
| 2.1.2 | Stable | 8β11 | Aug 1, 2024 | ||
| 3.0.1 | Stable | 8β11 | May 25, 2024 | ||
| 2.1.1 | Stable | 8β11 | May 25, 2024 | ||
| 3.0.0 | Stable | 10 | Nov 17, 2023 | ||
| 3.0.x-dev | Dev | 8β11 | PHP 8 | Nov 17, 2023 |