Skip to content

Commit a3fcc21

Browse files
committed
version php81
1 parent 12fc1af commit a3fcc21

File tree

4 files changed

+914
-712
lines changed

4 files changed

+914
-712
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
PHP library for put all database result in cache
66

77
### Installation
8+
9+
[Release 5.0.0](https://github.com/not-empty/database-cache-php-lib/releases/tag/5.0.0) Requires [PHP](https://php.net) 8.1
10+
811
[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
912

1013
[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
@@ -45,12 +48,12 @@ var_dump($data);
4548
if you want an environment to run or test it, you can build and install dependences like this
4649

4750
```sh
48-
docker build --build-arg PHP_VERSION=7.4.33-cli -t not-empty/database-cache-php-lib:php74 -f contrib/Dockerfile .
51+
docker build --build-arg PHP_VERSION=8.1.4-cli -t not-empty/database-cache-php-lib:php81 -f contrib/Dockerfile .
4952
```
5053

5154
Access the container
5255
```sh
53-
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php74 bash
56+
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php81 bash
5457
```
5558

5659
Verify if all dependencies is installed
@@ -76,12 +79,12 @@ To ensure that the entire project is fine:
7679
First you need to building a correct environment to install all dependences
7780

7881
```sh
79-
docker build --build-arg PHP_VERSION=7.4.33-cli -t not-empty/database-cache-php-lib:php74 -f contrib/Dockerfile .
82+
docker build --build-arg PHP_VERSION=8.1.4-cli -t not-empty/database-cache-php-lib:php81 -f contrib/Dockerfile .
8083
```
8184

8285
Access the container
8386
```sh
84-
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php74 bash
87+
docker run -v ${PWD}/:/var/www/html -it not-empty/database-cache-php-lib:php81 bash
8588
```
8689

8790
Install all dependences

composer.json

+4-4
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": "4.0.0",
4+
"version": "5.0.0",
55
"type": "library",
66
"license": "GPL-3.0-only",
77
"require": {
8-
"php": "^7.4",
8+
"php": "^8.1",
99
"predis/predis": "^2.2"
1010
},
1111
"authors": [
@@ -44,8 +44,8 @@
4444
"ccu" : "php contrib/coverage-checker.php coverage/coverage.xml 100"
4545
},
4646
"require-dev": {
47-
"phpunit/phpunit": "^7.5",
48-
"mockery/mockery": "^1.3",
47+
"phpunit/phpunit": "^9.6",
48+
"mockery/mockery": "^1.6",
4949
"squizlabs/php_codesniffer": "^3.7",
5050
"phpmd/phpmd": "^2.14"
5151
}

0 commit comments

Comments
 (0)