diff --git a/README.md b/README.md index 74302adb5aec2449681eda95a05f1ba0ef056b4d..105bb064b7a7a8540982ce8daad5581af5b3a181 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,24 @@ This library will help you to connect your Plugin to the privacyIDEA server usin ## Requirements -To use our API Library you have to install Curl on your machine or add curl/curl using Composer. -To do it with Composer simply copy that line to your Terminal in your project directory: +To use our API Library you have to install curl on your machine. If you have installed our SDK +with Composer you don't need to think about it, because Composer will do it for you automatically. +To avoid bugs we also advise you to install PHP >=7.3. -`composer require curl/curl` +## Composer -Remember that you have to install Composer first. If you will know how to install Composer, check this documentation: +To install our repository with Composer, run this command in Terminal: + +`composer require privacyidea/privacyidea-php-sdk` + +Next, you have to run: + +`composer update` + +You can also decide which version of our package you want to install. +For more information read the Composer documentation. + +To install Composer follow this link: https://getcomposer.org/doc/00-intro.md Required Composer version is >=2.0. diff --git a/composer.json b/composer.json index 3ea2f74f46c3354b60b40601a7d2249ec7a4801a..b1e4e956977cba3edaec7dd0948cb193cbf53519 100644 --- a/composer.json +++ b/composer.json @@ -19,6 +19,7 @@ "phpunit/phpunit": "^9.5", "internations/http-mock": ">=0.14.0", "curl/curl": "*", - "ext-json": "*" + "ext-json": "*", + "ext-curl": "*" } }