warden_php_script
Execute PHP scripts within the php-fpm container of a Warden-managed Magento 2 environment, specifying project and script paths with optional arguments for automation tasks.
Instructions
Run a PHP script inside the php-fpm container
Input Schema
Name | Required | Description | Default |
---|---|---|---|
args | No | Additional arguments to pass to the script | |
project_path | Yes | Path to the project directory | |
script_path | Yes | Path to the PHP script relative to project root |