X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=composer.json;h=9fd5985ab783b23e1c8c59ef1aae03254e5b0d35;hb=2f9ef748af3aed90c80d823433be084fa56e5f58;hp=20c31ec61d0c8dcf5dcb2134b431cf3b6920b5e1;hpb=f9dbab373a5ed33f7246daf2865ea2e2231a362e;p=plcapi.git diff --git a/composer.json b/composer.json index 20c31ec..9fd5985 100644 --- a/composer.json +++ b/composer.json @@ -2,12 +2,53 @@ "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.1.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": "^5.0 || ^8.5.14", + "phpunit/phpunit-selenium": "*", + "yoast/phpunit-polyfills": "*", + "ext-curl": "*", + "ext-dom": "*", + "ext-mbstring": "*", + "ext-xsl": "*", + "indeyets/pake": "^1.99", + "docbook/docbook-xsl": "^1.79" + }, + "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", + "phpxmlrpc/extras": "Adds more featured Server classes and other useful bits", + "phpxmlrpc/jsonrpc": "Adds support for the JSON-RPC protocol", + "sami/sami": "Required for doc generation using pake. Version constraints: ^3.3 || ^4.1" + }, + "_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": { - "classmap": [ "lib/xmlrpc.inc", "lib/xmlrpcs.inc" ] - } -} \ No newline at end of file + "psr-4": {"PhpXmlRpc\\": "src/"} + }, + "config": { + "secure-http": false + }, + "repositories": [ + { + "type": "package", + "package": { + "name": "docbook/docbook-xsl", + "version": "1.79.1", + "dist": { + "url": "https://sourceforge.net/projects/docbook/files/docbook-xsl/1.79.1/docbook-xsl-1.79.1.zip/download", + "type": "zip" + } + } + } + ] +}