diff --git a/README.md b/README.md index 23eb9bfa3c142796668670f24e4fc925fb441413..13250a2b049f3d38d1ce8dc4ee0f0293be089f19 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,12 @@ This project is intended to ease the use of the privacyIDEA server REST API. -## Requirements - -Curl is required for this project to work. If this project is installed using composer, curl is installed automatically. -A PHP Version >=7.3 is preferred. - -## Composer +## Install To install with Composer, run the following command: -`composer require privacyidea/privacyidea-php-client` - -then: +`composer require cesnet/privacyidea-php-client` -`composer update` +## Disclaimer -Required Composer version is >=2.0. +This is a fork of [privacyidea/php-client](https://github.com/privacyidea/php-client) by [@privacyidea](https://github.com/privacyidea), maintained and contributed to by CESNET, z. s. p. o. and Institute of Computer Science, Masaryk University. diff --git a/composer.json b/composer.json index 8aeecef9c395a6adcff5b95fb3fcab79a4acea77..e4915ef95d99e4211d61caf05bbaeac947ea249c 100644 --- a/composer.json +++ b/composer.json @@ -1,33 +1,35 @@ { - "name": "privacyidea/privacyidea-php-client", - "description": "PHP Client to easy the use of the privacyIDEA API.", + "name": "cesnet/privacyidea-php-client", + "description": "PHP Client for the privacyIDEA API", + "keywords": ["privacyIDEA", "MFA"], "license": "AGPL-3.0-or-later", "minimum-stability": "stable", - "authors": [ - { - "name": "Lukas Matusiewicz", - "email": "lukas.matusiewicz@netknights.it" + "config": { + "platform": { + "php": "7.4" } - ], + }, + "replace": { + "privacyidea/privacyidea-php-client": "0.9.7" + }, "autoload": { "psr-4": { - "PrivacyIdea\\PHPClient\\": "src" + "PrivacyIDEA\\PHPClient\\": "src" } }, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/privacyidea/php-client" + "autoload-dev": { + "psr-4": { + "PrivacyIDEA\\PHPClient\\Test\\": ["tests"] } - ], + }, "require": { - "php": ">=5.6", - "curl/curl": "*", + "php": "^7.2 || ^8", "ext-json": "*", "ext-curl": "*" }, "require-dev": { - "phpunit/phpunit": "*", - "internations/http-mock": ">=0.14.0" + "phpunit/phpunit": "^9", + "internations/http-mock": "~0.14.0", + "symplify/easy-coding-standard": "^10.0" } }