merge upstream phpxmlrpc
[plcapi.git] / php / phpxmlrpc / composer.json
index b3cfafa..3a241a5 100644 (file)
@@ -2,44 +2,33 @@
     "name": "phpxmlrpc/phpxmlrpc",
     "description": "A php library for building xmlrpc clients and servers",
     "license": "BSD-3-Clause",
-    "homepage": "http://gggeek.github.io/phpxmlrpc/",
-    "keywords": [ "xmlrpc", "webservices" ],
+    "homepage": "https://gggeek.github.io/phpxmlrpc/",
+    "keywords": [ "xmlrpc", "xml-rpc","webservices" ],
     "require": {
-        "php": ">=5.3.0",
+        "php": "^5.3.0 || ^7.0 || ^8.0",
         "ext-xml": "*"
     },
+    "_comment::tests": "The dev packages below require a minimum of php 5.6, even though we support php 5.3. Can we manage to do better?",
     "require-dev": {
-        "phpunit/phpunit": ">=4.0.0, <6.0.0",
+        "phpunit/phpunit": "^5.0 || ^8.5.14",
         "phpunit/phpunit-selenium": "*",
-        "codeclimate/php-test-reporter": "dev-master",
+        "yoast/phpunit-polyfills": "*",
         "ext-curl": "*",
-        "ext-mbstring": "*",
-        "indeyets/pake": "~1.99",
-        "sami/sami": "~3.1",
-        "docbook/docbook-xsl": "~1.78"
+        "ext-dom": "*",
+        "ext-mbstring": "*"
     },
     "suggest": {
         "ext-curl": "Needed for HTTPS and HTTP 1.1 support, NTLM Auth etc...",
         "ext-zlib": "Needed for sending compressed requests and receiving compressed responses, if cURL is not available",
-        "ext-mbstring": "Needed to allow reception of requests/responses in character sets other than ASCII,LATIN-1,UTF-8"
+        "ext-mbstring": "Needed to allow reception of requests/responses in character sets other than ASCII,LATIN-1,UTF-8",
+        "phpxmlrpc/extras": "Adds more featured Server classes and other useful bits",
+        "phpxmlrpc/jsonrpc": "Adds support for the JSON-RPC protocol"
+    },
+    "_comment::conflict": "Within the extras package, only the XMLRPC extension emulation is not compatible... the JSONRPC part should be ok. Both have been moved to different packages anyway",
+    "conflict": {
+        "phpxmlrpc/extras": "<= 0.6.3"
     },
     "autoload": {
         "psr-4": {"PhpXmlRpc\\": "src/"}
-    },
-    "config": {
-        "secure-http": false
-    },
-    "repositories": [
-        {
-            "type": "package",
-            "package": {
-                "name": "docbook/docbook-xsl",
-                "version": "1.78.1",
-                "dist": {
-                    "url": "https://sourceforge.net/projects/docbook/files/docbook-xsl/1.78.1/docbook-xsl-1.78.1.zip/download",
-                    "type": "zip"
-                }
-            }
-        }
-    ]
+    }
 }