Skip to content
Snippets Groups Projects
Unverified Commit df26d84e authored by lukasmatusiewicz's avatar lukasmatusiewicz Committed by GitHub
Browse files

Update composer.json and readme (#5)

* Update composer.json and readme

* Update README.md
parent fc79584c
No related branches found
No related tags found
No related merge requests found
...@@ -4,12 +4,24 @@ This library will help you to connect your Plugin to the privacyIDEA server usin ...@@ -4,12 +4,24 @@ This library will help you to connect your Plugin to the privacyIDEA server usin
## Requirements ## Requirements
To use our API Library you have to install Curl on your machine or add curl/curl using Composer. To use our API Library you have to install curl on your machine. If you have installed our SDK
To do it with Composer simply copy that line to your Terminal in your project directory: 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 https://getcomposer.org/doc/00-intro.md
Required Composer version is >=2.0. Required Composer version is >=2.0.
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
"phpunit/phpunit": "^9.5", "phpunit/phpunit": "^9.5",
"internations/http-mock": ">=0.14.0", "internations/http-mock": ">=0.14.0",
"curl/curl": "*", "curl/curl": "*",
"ext-json": "*" "ext-json": "*",
"ext-curl": "*"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment