X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=README.md;h=a8b9474e8427959cd196c7fd480c5ee828f9a259;hb=e344025b828aec0efa90d58902c87743b1ebf59f;hp=f611c9597b91cd54e41fe2103bc266568ca1ea1e;hpb=8ef5517baf3fd7da0dd84bb3f0f7525d93567103;p=plcapi.git diff --git a/README.md b/README.md index f611c95..a8b9474 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,68 @@ -[![Build Status](https://travis-ci.org/gggeek/phpxmlrpc.svg?branch=php53)](https://travis-ci.org/gggeek/phpxmlrpc) -[![Test Coverage](https://codeclimate.com/github/gggeek/phpxmlrpc/badges/coverage.svg)](https://codeclimate.com/github/gggeek/phpxmlrpc) -[![Code Coverage](https://scrutinizer-ci.com/g/gggeek/phpxmlrpc/badges/coverage.png?b=php53)](https://scrutinizer-ci.com/g/gggeek/phpxmlrpc/?branch=php53) - XMLRPC for PHP ============== A php library for building xml-rpc clients and servers. Installation ------------ -Installation instructions are in the [INSTALL.md](INSTALL.md) file. +The recommended way to install this library is using Composer. + +Detailed installation instructions are in the [INSTALL.md](INSTALL.md) file, along with system requirements listing. + +Documentation +------------- + +See the documentation page at [gggeek.github.io/phpxmlrpc](https://gggeek.github.io/phpxmlrpc) for a list of the +library main features and all project related information. + +The user manual can be found in the doc/manual directory, in Asciidoc format: [phpxmlrpc_manual.adoc](doc/manual/phpxmlrpc_manual.adoc) + +Release tarballs also contain HTML and PDF versions of the manual, as well as an automatically generated API documentation. + +*NB: the user manual has not been updated yet with all the changes made in version 4. Please consider it unreliable!* + +*You are encouraged to look instead the code examples found in the demo/ directory* + +Upgrading +--------- +If you are upgrading from version 3 or earlier you have two options: + +1. adapt your code to the new API (all changes needed are described in [doc/api_changes_v4.md](doc/api_changes_v4.md)) + +2. use instead the *compatibility layer* which is provided. Instructions and pitfalls described in [doc/api_changes_v4.md](doc/api_changes_v4.md##enabling-compatibility-with-legacy-code) + +In any case, read carefully the docs in [doc/api_changes_v4.md](doc/api_changes_v4.md) and report back any undocumented +issue using GitHub. + +Running tests +------------- + +The recommended way to run the library test suite is via the provided Docker containers. +A handy shell script is available that simplifies usage of Docker. + +The full sequence of operations is: + + ./tests/ci/vm.sh build + ./tests/ci/vm.sh start + ./tests/ci/vm.sh runtests + ./tests/ci/vm.sh stop + + # and, once you have finished all testing related work: + ./tests/ci/vm.sh cleanup + +By default tests are run using php 7.0 in a Container based on Ubuntu 18 Bionic. +You can change the version of PHP and Ubuntu in use by setting the environment variables PHP_VERSION and UBUNTU_VERSION +before building the Container. + +To generate the code-coverage report, run `./tests/ci/vm.sh runcoverage` + +License +------- +Use of this software is subject to the terms in the [license.txt](license.txt) file + -Docs ----- -The manual, in HTML and pdf versions, can be found in the doc/ directory. -Use of this software is subject to the terms in doc/index.html +[![License](https://poser.pugx.org/phpxmlrpc/phpxmlrpc/license)](https://packagist.org/packages/phpxmlrpc/phpxmlrpc) +[![Latest Stable Version](https://poser.pugx.org/phpxmlrpc/phpxmlrpc/v/stable)](https://packagist.org/packages/phpxmlrpc/phpxmlrpc) +[![Total Downloads](https://poser.pugx.org/phpxmlrpc/phpxmlrpc/downloads)](https://packagist.org/packages/phpxmlrpc/phpxmlrpc) -SSL-certificate ---------------- -The passphrase for the rsakey.pem certificate is 'test'. +[![Build Status](https://github.com/gggeek/phpxmlrpc/actions/workflows/ci.yml/badge.svg)](https://travis-ci.com/gggeek/phpxmlrpc) +[![Code Coverage](https://scrutinizer-ci.com/g/gggeek/phpxmlrpc/badges/coverage.png)](https://scrutinizer-ci.com/g/gggeek/phpxmlrpc)