warden_composer
Execute Composer commands directly within the php-fpm container of Warden-managed Magento 2 environments. Simplify dependency management by specifying the project path and desired Composer action.
Instructions
Run Composer commands inside the php-fpm container
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Composer command to execute (e.g., 'install', 'update', 'require symfony/console', 'require-commerce') | |
project_path | Yes | Path to the project directory |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "Composer command to execute (e.g., 'install', 'update', 'require symfony/console', 'require-commerce')",
"type": "string"
},
"project_path": {
"description": "Path to the project directory",
"type": "string"
}
},
"required": [
"project_path",
"command"
],
"type": "object"
}