From df26d84e9b6653724eac1e637411756cfae3b6e7 Mon Sep 17 00:00:00 2001 From: lukasmatusiewicz <77617779+lukasmatusiewicz@users.noreply.github.com> Date: Fri, 18 Jun 2021 14:30:23 +0200 Subject: [PATCH] Update composer.json and readme (#5) * Update composer.json and readme * Update README.md --- README.md | 20 ++++++++++++++++---- composer.json | 3 ++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 74302ad..105bb06 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 3ea2f74..b1e4e95 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": "*" } } -- GitLab