File tree Expand file tree Collapse file tree 5 files changed +581
-241
lines changed
Expand file tree Collapse file tree 5 files changed +581
-241
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 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+
911[ 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
1012
1113[ Release 1.0.0] ( https://github.com/not-empty/jwt-manager-php-lib/releases/tag/1.0.0 ) Requires [ PHP] ( https://php.net ) 7.1
@@ -74,12 +76,12 @@ var_dump($result);
7476if you want an environment to run or test it, you can build and install dependences like this
7577
7678``` sh
77- docker build --build-arg PHP_VERSION=7.2 .33-cli -t not-empty/jwt-manager-php-lib:php72 -f contrib/Dockerfile .
79+ docker build --build-arg PHP_VERSION=7.3 .33-cli -t not-empty/jwt-manager-php-lib:php73 -f contrib/Dockerfile .
7880```
7981
8082Access the container
8183``` sh
82- docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php72 bash
84+ docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php73 bash
8385```
8486
8587Verify if all dependencies is installed
@@ -105,12 +107,12 @@ To ensure that the entire project is fine:
105107First you need to building a correct environment to install all dependences
106108
107109``` sh
108- docker build --build-arg PHP_VERSION=7.2 .33-cli -t not-empty/jwt-manager-php-lib:php72 -f contrib/Dockerfile .
110+ docker build --build-arg PHP_VERSION=7.3 .33-cli -t not-empty/jwt-manager-php-lib:php73 -f contrib/Dockerfile .
109111```
110112
111113Access the container
112114``` sh
113- docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php72 bash
115+ docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php73 bash
114116```
115117
116118Install 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" : " 2 .0.0" ,
4+ "version" : " 3 .0.0" ,
55 "type" : " library" ,
66 "license" : " GPL-3.0-only" ,
77 "require" : {
8- "php" : " ^7.2 "
8+ "php" : " ^7.3 "
99 },
1010 "require-dev" : {
11- "phpunit/phpunit" : " ^8.5 " ,
12- "mockery/mockery" : " ^1.3 " ,
11+ "phpunit/phpunit" : " ^9.6 " ,
12+ "mockery/mockery" : " ^1.6 " ,
1313 "squizlabs/php_codesniffer" : " ^3.7" ,
1414 "phpmd/phpmd" : " ^2.14"
1515 },
You can’t perform that action at this time.
0 commit comments