Skip to content

Commit 08cc54a

Browse files
committed
version php72
1 parent d57e82c commit 08cc54a

4 files changed

Lines changed: 25 additions & 28 deletions

File tree

README.md

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

77
### Installation
88

9+
[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
10+
911
[Release 1.0.0](https://github.com/not-empty/database-cache-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/).
@@ -40,12 +42,12 @@ var_dump($data);
4042
if you want an environment to run or test it, you can build and install dependences like this
4143

4244
```sh
43-
docker build --build-arg PHP_VERSION=7.1.33-cli -t not-empty/database-cache-php-lib:php71 -f contrib/Dockerfile .
45+
docker build --build-arg PHP_VERSION=7.2.33-cli -t not-empty/database-cache-php-lib:php72 -f contrib/Dockerfile .
4446
```
4547

4648
Access the container
4749
```sh
48-
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php71 bash
50+
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php72 bash
4951
```
5052

5153
Verify if all dependencies is installed
@@ -71,12 +73,12 @@ To ensure that the entire project is fine:
7173
First you need to building a correct environment to install all dependences
7274

7375
```sh
74-
docker build --build-arg PHP_VERSION=7.1.33-cli -t not-empty/database-cache-php-lib:php71 -f contrib/Dockerfile .
76+
docker build --build-arg PHP_VERSION=7.2.33-cli -t not-empty/database-cache-php-lib:php72 -f contrib/Dockerfile .
7577
```
7678

7779
Access the container
7880
```sh
79-
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php71 bash
81+
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php72 bash
8082
```
8183

8284
Install all dependences

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "not-empty/database-cache-php-lib",
33
"description": "PHP library for put all database result in cache",
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",
9-
"predis/predis": "^1.1"
8+
"php": "^7.2",
9+
"predis/predis": "^2.2"
1010
},
1111
"authors": [
1212
{

composer.lock

Lines changed: 15 additions & 20 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.1.33-cli
1+
ARG PHP_VERSION=7.2.33-cli
22

33
FROM php:${PHP_VERSION}
44

0 commit comments

Comments
 (0)