Skip to content

Commit

Permalink
Update composer.json and readme (#5)
Browse files Browse the repository at this point in the history
* Update composer.json and readme

* Update README.md
  • Loading branch information
lukasmatusiewicz authored Jun 18, 2021
1 parent fc79584 commit df26d84
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"phpunit/phpunit": "^9.5",
"internations/http-mock": ">=0.14.0",
"curl/curl": "*",
"ext-json": "*"
"ext-json": "*",
"ext-curl": "*"
}
}

0 comments on commit df26d84

Please sign in to comment.