Skip to content

Commit 78df3ac

Browse files
Guido Gröönmrts
authored andcommitted
WE2-757 Updated installation instruction
1 parent d3fd722 commit 78df3ac

File tree

3 files changed

+7
-31
lines changed

3 files changed

+7
-31
lines changed

README.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,10 @@ A PHP web application that uses Composer to manage packages is needed for runnin
1616

1717
## 1. Add the library to your project
1818

19-
Add the following lines to `composer.json` to include the Web eID authentication token validation library in your project:
20-
21-
```json
22-
"require": {
23-
"web-eid/web-eid-authtoken-validation-php": "dev-main",
24-
"web-eid/ocsp-php": "dev-main",
25-
},
26-
"repositories": [
27-
{
28-
"type": "vcs",
29-
"url": "https://github.com/web-eid/web-eid-authtoken-validation-php.git"
30-
},
31-
{
32-
"type": "vcs",
33-
"url": "https://github.com/web-eid/ocsp-php.git"
34-
}
35-
]
19+
Install using Composer to include the Web eID authentication token validation library in your project:
20+
21+
```sh
22+
composer require web-eid/web-eid-authtoken-validation-php
3623
```
3724

3825
### Logging

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"require": {
3535
"phpseclib/phpseclib": "3.0.14",
3636
"guzzlehttp/psr7": "2.4.3",
37-
"web-eid/ocsp-php": "dev-main",
37+
"web-eid/ocsp-php": "1.0.0",
3838
"psr/log": "^3.0"
3939
},
4040
"scripts": {

examples/composer.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,12 @@
1111
],
1212
"require": {
1313
"php": ">=7.4",
14-
"web_eid/web_eid_authtoken_validation_php": "dev-main",
15-
"web_eid/ocsp_php": "dev-main",
14+
"web-eid/web-eid-authtoken-validation-php": "1.0.0",
1615
"altorouter/altorouter": "1.1.0",
1716
"guzzlehttp/psr7": "2.4.3",
1817
"psr/log": "^3.0"
1918
},
2019
"autoload": {
2120
"classmap": ["src"]
22-
},
23-
"repositories": [
24-
{
25-
"type": "vcs",
26-
"url": "https://github.com/web-eid/web-eid-authtoken-validation-php.git"
27-
},
28-
{
29-
"type": "vcs",
30-
"url": "https://github.com/web-eid/ocsp-php.git"
31-
}
32-
]
21+
}
3322
}

0 commit comments

Comments
 (0)