File tree 4 files changed +26
-24
lines changed 4 files changed +26
-24
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ PHP library to manage JWT authentication
6
6
7
7
### Installation
8
8
9
+ [ Release 4.0.0] ( https://github.com/not-empty/jwt-manager-php-lib/releases/tag/4.0.0 ) Requires [ PHP] ( https://php.net ) 7.4
10
+
9
11
[ Release 3.0.0] ( https://github.com/not-empty/jwt-manager-php-lib/releases/tag/3.0.0 ) Requires [ PHP] ( https://php.net ) 7.3
10
12
11
13
[ Release 2.0.0] ( https://github.com/not-empty/jwt-manager-php-lib/releases/tag/2.0.0 ) Requires [ PHP] ( https://php.net ) 7.2
@@ -76,12 +78,12 @@ var_dump($result);
76
78
if you want an environment to run or test it, you can build and install dependences like this
77
79
78
80
``` sh
79
- docker build --build-arg PHP_VERSION=7.3 .33-cli -t not-empty/jwt-manager-php-lib:php73 -f contrib/Dockerfile .
81
+ docker build --build-arg PHP_VERSION=7.4 .33-cli -t not-empty/jwt-manager-php-lib:php74 -f contrib/Dockerfile .
80
82
```
81
83
82
84
Access the container
83
85
``` sh
84
- docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php73 bash
86
+ docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php74 bash
85
87
```
86
88
87
89
Verify if all dependencies is installed
@@ -107,12 +109,12 @@ To ensure that the entire project is fine:
107
109
First you need to building a correct environment to install all dependences
108
110
109
111
``` sh
110
- docker build --build-arg PHP_VERSION=7.3 .33-cli -t not-empty/jwt-manager-php-lib:php73 -f contrib/Dockerfile .
112
+ docker build --build-arg PHP_VERSION=7.4 .33-cli -t not-empty/jwt-manager-php-lib:php74 -f contrib/Dockerfile .
111
113
```
112
114
113
115
Access the container
114
116
``` sh
115
- docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php73 bash
117
+ docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php74 bash
116
118
```
117
119
118
120
Install all dependences
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " not-empty/jwt-manager-php-lib" ,
3
3
"description" : " PHP library to manage JWT authentication" ,
4
- "version" : " 3 .0.0" ,
4
+ "version" : " 4 .0.0" ,
5
5
"type" : " library" ,
6
6
"license" : " GPL-3.0-only" ,
7
7
"require" : {
8
- "php" : " ^7.3 "
8
+ "php" : " ^7.4 "
9
9
},
10
10
"require-dev" : {
11
11
"phpunit/phpunit" : " ^9.6" ,
Original file line number Diff line number Diff line change 1
- ARG PHP_VERSION=7.3 .33-cli
1
+ ARG PHP_VERSION=7.4 .33-cli
2
2
3
3
FROM php:${PHP_VERSION}
4
4
You can’t perform that action at this time.
0 commit comments