File tree Expand file tree Collapse file tree 4 files changed +404
-440
lines changed Expand file tree Collapse file tree 4 files changed +404
-440
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 2.0.0] ( https://github.com/not-empty/jwt-manager-php-lib/releases/tag/2.0.0 ) Requires [ PHP] ( https://php.net ) 7.2
10+
911[ 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
1012
1113The recommended way to install is through [ Composer] ( https://getcomposer.org/ ) .
@@ -72,12 +74,12 @@ var_dump($result);
7274if you want an environment to run or test it, you can build and install dependences like this
7375
7476``` sh
75- docker build --build-arg PHP_VERSION=7.1 .33-cli -t not-empty/jwt-manager-php-lib:php71 -f contrib/Dockerfile .
77+ docker build --build-arg PHP_VERSION=7.2 .33-cli -t not-empty/jwt-manager-php-lib:php72 -f contrib/Dockerfile .
7678```
7779
7880Access the container
7981``` sh
80- docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php71 bash
82+ docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php72 bash
8183```
8284
8385Verify if all dependencies is installed
@@ -103,12 +105,12 @@ To ensure that the entire project is fine:
103105First you need to building a correct environment to install all dependences
104106
105107``` sh
106- docker build --build-arg PHP_VERSION=7.1 .33-cli -t not-empty/jwt-manager-php-lib:php71 -f contrib/Dockerfile .
108+ docker build --build-arg PHP_VERSION=7.2 .33-cli -t not-empty/jwt-manager-php-lib:php72 -f contrib/Dockerfile .
107109```
108110
109111Access the container
110112``` sh
111- docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php71 bash
113+ docker run -v ${PWD} /:/var/www/html -it not-empty/jwt-manager-php-lib:php72 bash
112114```
113115
114116Install 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" : " 1 .0.0" ,
4+ "version" : " 2 .0.0" ,
55 "type" : " library" ,
66 "license" : " GPL-3.0-only" ,
77 "require" : {
8- "php" : " ^7.1 "
8+ "php" : " ^7.2 "
99 },
1010 "require-dev" : {
11- "phpunit/phpunit" : " ^7 .5" ,
11+ "phpunit/phpunit" : " ^8 .5" ,
1212 "mockery/mockery" : " ^1.3" ,
1313 "squizlabs/php_codesniffer" : " ^3.7" ,
1414 "phpmd/phpmd" : " ^2.14"
You can’t perform that action at this time.
0 commit comments