deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box
https://deployer.org
MIT License
10.63k stars 1.49k forks source link

Added options to fetch function #3719

Open tombroucke opened 1 year ago

tombroucke commented 1 year ago

When running the fetch() function, we can now add options:

fetch(
    'https://httpbin.org/get',
    options: [
        CURLOPT_SSL_VERIFYPEER => false,
        CURLOPT_SSL_VERIFYHOST => false,
        CURLOPT_TIMEOUT => 30,
        ...
    ]
);