File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55PHP 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);
4345if 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
4951Access 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
5456Verify if all dependencies is installed
@@ -74,12 +76,12 @@ To ensure that the entire project is fine:
7476First 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
8082Access 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
8587Install all dependences
Original file line number Diff line number Diff line change 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" : [
Original file line number Diff line number Diff line change 1- ARG PHP_VERSION=7.3 .33-cli
1+ ARG PHP_VERSION=7.4 .33-cli
22
33FROM php:${PHP_VERSION}
44
You can’t perform that action at this time.
0 commit comments