Skip to content

Commit 4fd4a89

Browse files
committed
version php74
1 parent d2c4996 commit 4fd4a89

File tree

4 files changed

+26
-24
lines changed

4 files changed

+26
-24
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 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);
7678
if 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

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

8789
Verify if all dependencies is installed
@@ -107,12 +109,12 @@ To ensure that the entire project is fine:
107109
First 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

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

118120
Install all dependences

composer.json

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

composer.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PHP_VERSION=7.3.33-cli
1+
ARG PHP_VERSION=7.4.33-cli
22

33
FROM php:${PHP_VERSION}
44

0 commit comments

Comments
 (0)