Feature: #108815 - CLI commands for system configuration 

See forge#108815

Description 

New CLI commands have been introduced to manage TYPO3 system configuration (stored in config/system/settings.php) directly from the command line.

The following commands are now available:

configuration:show 

Shows a configuration value. By default, if the active value differs from the local value (e.g., due to overrides in config/system/additional.php), both values are displayed with the difference highlighted.

# Show configuration (with diff if overridden)
vendor/bin/typo3 configuration:show SYS/sitename

# Show active (effective runtime) value
vendor/bin/typo3 configuration:show SYS/sitename --type=active

# Show local (settings.php) value only
vendor/bin/typo3 configuration:show DB/Connections/Default --type=local

# Output as JSON
vendor/bin/typo3 configuration:show BE/debug --type=active --json
Copied!

configuration:set 

Sets a configuration value in config/system/settings.php.

# Set a string value
vendor/bin/typo3 configuration:set SYS/sitename "My Site"

# Set boolean or integer values using --json
vendor/bin/typo3 configuration:set BE/debug true --json
vendor/bin/typo3 configuration:set SYS/displayErrors 1 --json

# Set an array value
vendor/bin/typo3 configuration:set EXTENSIONS/my_extension '{"key": "value"}' --json
Copied!

The --json option parses the value as JSON, which allows setting booleans, integers, and arrays with proper types.

configuration:remove 

Removes configuration value(s) from config/system/settings.php.

# Remove a single path (will ask for confirmation)
vendor/bin/typo3 configuration:remove EXTENSIONS/my_extension/setting

# Remove without confirmation
vendor/bin/typo3 configuration:remove EXTENSIONS/my_extension/setting --force

# Remove multiple paths (comma-separated)
vendor/bin/typo3 configuration:remove "EXTCONF/ext1,EXTCONF/ext2" --force
Copied!

Impact 

These commands provide a convenient way to manage TYPO3 system configuration from the command line, which is especially useful for:

  • Automated deployments and provisioning scripts
  • CI/CD pipelines that need to adjust configuration
  • Quick configuration changes without accessing the Install Tool
  • Scripting and automation tasks

The commands respect TYPO3's configuration path restrictions and only allow writing to paths that are defined in the default configuration or explicitly allowed (such as EXTENSIONS, EXTCONF, DB).