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 3.0.0] ( https://github.com/not-empty/database-cache-php-lib/releases/tag/3.0.0 ) Requires [ PHP] ( https://php.net ) 7.3
89
910[ 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
1011
@@ -42,12 +43,12 @@ var_dump($data);
4243if you want an environment to run or test it, you can build and install dependences like this
4344
4445``` sh
45- docker build --build-arg PHP_VERSION=7.2 .33-cli -t not-empty/database-cache-php-lib:php72 -f contrib/Dockerfile .
46+ docker build --build-arg PHP_VERSION=7.3 .33-cli -t not-empty/database-cache-php-lib:php73 -f contrib/Dockerfile .
4647```
4748
4849Access the container
4950``` sh
50- docker run -v ${PWD} /:/var/www/html -it not-empty/database-cache-php-lib:php72 bash
51+ docker run -v ${PWD} /:/var/www/html -it not-empty/database-cache-php-lib:php73 bash
5152```
5253
5354Verify if all dependencies is installed
@@ -73,12 +74,12 @@ To ensure that the entire project is fine:
7374First you need to building a correct environment to install all dependences
7475
7576``` sh
76- docker build --build-arg PHP_VERSION=7.2 .33-cli -t not-empty/database-cache-php-lib:php72 -f contrib/Dockerfile .
77+ docker build --build-arg PHP_VERSION=7.3 .33-cli -t not-empty/database-cache-php-lib:php73 -f contrib/Dockerfile .
7778```
7879
7980Access the container
8081``` sh
81- docker run -v ${PWD} /:/var/www/html -it not-empty/database-cache-php-lib:php72 bash
82+ docker run -v ${PWD} /:/var/www/html -it not-empty/database-cache-php-lib:php73 bash
8283```
8384
8485Install 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" : " 2 .0.0" ,
4+ "version" : " 3 .0.0" ,
55 "type" : " library" ,
66 "license" : " GPL-3.0-only" ,
77 "require" : {
8- "php" : " ^7.2 " ,
8+ "php" : " ^7.3 " ,
99 "predis/predis" : " ^2.2"
1010 },
1111 "authors" : [
Original file line number Diff line number Diff line change 1- ARG PHP_VERSION=7.2 .33-cli
1+ ARG PHP_VERSION=7.3 .33-cli
22
33FROM php:${PHP_VERSION}
44
You can’t perform that action at this time.
0 commit comments