diff --git a/composer.json b/composer.json index e820acb..879eb3b 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,8 @@ "php": ">=7.3" }, "require-dev": { - "nulib/tests": "7.3" + "nulib/tests": "7.3", + "ext-curl": "*" }, "autoload": { "psr-4": { diff --git a/composer.lock b/composer.lock index 0b15fe9..ae09afe 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a83db90dff9c8a1e44abc608738042c3", + "content-hash": "f05e766a09e965a7dd63ce61d5274eab", "packages": [], "packages-dev": [ { @@ -1780,6 +1780,8 @@ "platform": { "php": ">=7.3" }, - "platform-dev": [], + "platform-dev": { + "ext-curl": "*" + }, "plugin-api-version": "2.6.0" } diff --git a/php/src_web/ext/CurlException.php b/php/src_web/ext/CurlException.php new file mode 100644 index 0000000..f803a24 --- /dev/null +++ b/php/src_web/ext/CurlException.php @@ -0,0 +1,22 @@ +