File tree 4 files changed +914
-712
lines changed
4 files changed +914
-712
lines changed Original file line number Diff line number Diff line change 5
5
PHP library for put all database result in cache
6
6
7
7
### 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
+
8
11
[ 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
12
10
13
[ 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);
45
48
if you want an environment to run or test it, you can build and install dependences like this
46
49
47
50
``` 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 .
49
52
```
50
53
51
54
Access the container
52
55
``` 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
54
57
```
55
58
56
59
Verify if all dependencies is installed
@@ -76,12 +79,12 @@ To ensure that the entire project is fine:
76
79
First you need to building a correct environment to install all dependences
77
80
78
81
``` 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 .
80
83
```
81
84
82
85
Access the container
83
86
``` 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
85
88
```
86
89
87
90
Install all dependences
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " not-empty/database-cache-php-lib" ,
3
3
"description" : " PHP library for put all database result in cache" ,
4
- "version" : " 4 .0.0" ,
4
+ "version" : " 5 .0.0" ,
5
5
"type" : " library" ,
6
6
"license" : " GPL-3.0-only" ,
7
7
"require" : {
8
- "php" : " ^7.4 " ,
8
+ "php" : " ^8.1 " ,
9
9
"predis/predis" : " ^2.2"
10
10
},
11
11
"authors" : [
44
44
"ccu" : " php contrib/coverage-checker.php coverage/coverage.xml 100"
45
45
},
46
46
"require-dev" : {
47
- "phpunit/phpunit" : " ^7.5 " ,
48
- "mockery/mockery" : " ^1.3 " ,
47
+ "phpunit/phpunit" : " ^9.6 " ,
48
+ "mockery/mockery" : " ^1.6 " ,
49
49
"squizlabs/php_codesniffer" : " ^3.7" ,
50
50
"phpmd/phpmd" : " ^2.14"
51
51
}
You can’t perform that action at this time.
0 commit comments