File tree 4 files changed +404
-440
lines changed 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
6
6
7
7
### Installation
8
8
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
+
9
11
[ 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
10
12
11
13
The recommended way to install is through [ Composer] ( https://getcomposer.org/ ) .
@@ -72,12 +74,12 @@ var_dump($result);
72
74
if you want an environment to run or test it, you can build and install dependences like this
73
75
74
76
``` 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 .
76
78
```
77
79
78
80
Access the container
79
81
``` 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
81
83
```
82
84
83
85
Verify if all dependencies is installed
@@ -103,12 +105,12 @@ To ensure that the entire project is fine:
103
105
First you need to building a correct environment to install all dependences
104
106
105
107
``` 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 .
107
109
```
108
110
109
111
Access the container
110
112
``` 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
112
114
```
113
115
114
116
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" : " 1 .0.0" ,
4
+ "version" : " 2 .0.0" ,
5
5
"type" : " library" ,
6
6
"license" : " GPL-3.0-only" ,
7
7
"require" : {
8
- "php" : " ^7.1 "
8
+ "php" : " ^7.2 "
9
9
},
10
10
"require-dev" : {
11
- "phpunit/phpunit" : " ^7 .5" ,
11
+ "phpunit/phpunit" : " ^8 .5" ,
12
12
"mockery/mockery" : " ^1.3" ,
13
13
"squizlabs/php_codesniffer" : " ^3.7" ,
14
14
"phpmd/phpmd" : " ^2.14"
You can’t perform that action at this time.
0 commit comments