Skip to content

Commit 8b234eb

Browse files
committed
version php72
1 parent eacfa86 commit 8b234eb

File tree

4 files changed

+404
-440
lines changed

4 files changed

+404
-440
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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

1113
The recommended way to install is through [Composer](https://getcomposer.org/).
@@ -72,12 +74,12 @@ var_dump($result);
7274
if 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

7880
Access 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

8385
Verify if all dependencies is installed
@@ -103,12 +105,12 @@ To ensure that the entire project is fine:
103105
First 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

109111
Access 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

114116
Install all dependences

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
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"

0 commit comments

Comments
 (0)