Skip to content

Commit 12fc1af

Browse files
committed
version php74
1 parent 88a2ab1 commit 12fc1af

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
PHP library for put all database result in cache
66

77
### Installation
8+
[Release 4.0.0](https://github.com/not-empty/database-cache-php-lib/releases/tag/4.0.0) Requires [PHP](https://php.net) 7.4
9+
810
[Release 3.0.0](https://github.com/not-empty/database-cache-php-lib/releases/tag/3.0.0) Requires [PHP](https://php.net) 7.3
911

1012
[Release 2.0.0](https://github.com/not-empty/database-cache-php-lib/releases/tag/2.0.0) Requires [PHP](https://php.net) 7.2
@@ -43,12 +45,12 @@ var_dump($data);
4345
if you want an environment to run or test it, you can build and install dependences like this
4446

4547
```sh
46-
docker build --build-arg PHP_VERSION=7.3.33-cli -t not-empty/database-cache-php-lib:php73 -f contrib/Dockerfile .
48+
docker build --build-arg PHP_VERSION=7.4.33-cli -t not-empty/database-cache-php-lib:php74 -f contrib/Dockerfile .
4749
```
4850

4951
Access the container
5052
```sh
51-
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php73 bash
53+
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php74 bash
5254
```
5355

5456
Verify if all dependencies is installed
@@ -74,12 +76,12 @@ To ensure that the entire project is fine:
7476
First you need to building a correct environment to install all dependences
7577

7678
```sh
77-
docker build --build-arg PHP_VERSION=7.3.33-cli -t not-empty/database-cache-php-lib:php73 -f contrib/Dockerfile .
79+
docker build --build-arg PHP_VERSION=7.4.33-cli -t not-empty/database-cache-php-lib:php74 -f contrib/Dockerfile .
7880
```
7981

8082
Access the container
8183
```sh
82-
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php73 bash
84+
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php74 bash
8385
```
8486

8587
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/database-cache-php-lib",
33
"description": "PHP library for put all database result in cache",
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
"predis/predis": "^2.2"
1010
},
1111
"authors": [

composer.lock

Lines changed: 2 additions & 2 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)