A TYPO3 CMS extension that provides a command-line interface (CLI) for setting or unsetting global system settings.
This extension leverages the capabilities of Helmut Hummel's helhum/typo3-console package.
- TYPO3 v13.x
- PHP 8.2 or higher
- Cannot be installed alongside
helhum/typo3-console
due to conflicts.
Install this extension like any other TYPO3 CMS extension.
For direct installation via TYPO3 Extension Repository (TER), visit: https://extensions.typo3.org/extension/cli_config
For installation using Composer:
composer require t3/cli-config
Important: After installation, make sure to clear all caches to register and activate the newly included Symfony command.
Adds a new entry to the TYPO3 CLI command list, allowing configuration adjustments directly from the CLI.
vendor/bin/typo3 configuration:set [options] [--] <path> [<value>]
path
: The path to the system configuration (e.g.,SYS/displayErrors
).value
: The new value to set for the given configuration path (optional if using--unset
).
--unset
: Removes the entire entry at the specified configuration path.
vendor/bin/typo3 configuration:set SYS/displayErrors 1
vendor/bin/typo3 configuration:set --unset SYS/displayErrors
To set a negative number, use --
before the value to prevent the CLI from interpreting it as an option:
vendor/bin/typo3 configuration:set -- SYS/displayErrors -1
Otherwise you will get an error like:
The "-1" option does not exist.