warden_php_script
Execute PHP scripts within the php-fpm container of a Warden-managed Magento 2 environment by specifying the project directory and script path, enabling automation and direct interaction with the development setup.
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 |