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+
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);
4548if 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
5154Access 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
5659Verify if all dependencies is installed
@@ -76,12 +79,12 @@ To ensure that the entire project is fine:
7679First 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
8285Access 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
8790Install 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" : " 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" : [
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 }
You can’t perform that action at this time.
0 commit comments