File tree Expand file tree Collapse file tree 4 files changed +26
-24
lines changed
Expand file tree Collapse file tree 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
66
77### Installation
88
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+
911[ 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
1012
1113[ 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);
7678if you want an environment to run or test it, you can build and install dependences like this
7779
7880``` 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 .
8082```
8183
8284Access the container
8385``` 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
8587```
8688
8789Verify if all dependencies is installed
@@ -107,12 +109,12 @@ To ensure that the entire project is fine:
107109First you need to building a correct environment to install all dependences
108110
109111``` 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 .
111113```
112114
113115Access the container
114116``` 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
116118```
117119
118120Install all dependences
Original file line number Diff line number Diff line change 11{
22 "name" : " not-empty/jwt-manager-php-lib" ,
33 "description" : " PHP library to manage JWT authentication" ,
4- "version" : " 3 .0.0" ,
4+ "version" : " 4 .0.0" ,
55 "type" : " library" ,
66 "license" : " GPL-3.0-only" ,
77 "require" : {
8- "php" : " ^7.3 "
8+ "php" : " ^7.4 "
99 },
1010 "require-dev" : {
1111 "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
22
33FROM php:${PHP_VERSION}
44
You can’t perform that action at this time.
0 commit comments