Download the PHP package t3/cli-config without Composer
On this page you can find all versions of the php package t3/cli-config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download t3/cli-config
More information about t3/cli-config
Files in t3/cli-config
Package cli-config
Short Description TYPO3 CMS extension to provide a command to set or unset global system settings on CLI.
License GPL-2.0-or-later
Homepage https://github.com/a-r-m-i-n/cli-config
Informations about the package cli-config
t3/cli-config
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.
Requirements
- TYPO3 v13.x
- PHP 8.2 or higher
- Cannot be installed alongside
helhum/typo3-console
due to conflicts.
Installation
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:
Important: After installation, make sure to clear all caches to register and activate the newly included Symfony command.
Usage of command configuration:set
Adds a new entry to the TYPO3 CLI command list, allowing configuration adjustments directly from the CLI.
Syntax
Arguments
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
).
Options
--unset
: Removes the entire entry at the specified configuration path.
Examples
Setting a value
Unsetting a value
Setting negative numbers
To set a negative number, use --
before the value to prevent the CLI from interpreting it as an option:
Otherwise you will get an error like:
The "-1" option does not exist.