Skip to content

Commit fc79aa8

Browse files
committed
version php72
1 parent 04dadec commit fc79aa8

File tree

5 files changed

+538
-693
lines changed

5 files changed

+538
-693
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ PHP library using Guzzle base to send request to any services. Good to use in mi
66

77
### Installation
88

9+
[Release 2.0.0](https://github.com/not-empty/request-service-php-lib/releases/tag/2.0.0) Requires [PHP](https://php.net) 7.2
10+
911
[Release 1.0.0](https://github.com/not-empty/request-service-php-lib/releases/tag/1.0.0) Requires [PHP](https://php.net) 7.1
1012

1113
The recommended way to install is through [Composer](https://getcomposer.org/).
@@ -60,12 +62,12 @@ var_dump($response);
6062
if you want an environment to run or test it, you can build and install dependences like this
6163

6264
```sh
63-
docker build --build-arg PHP_VERSION=7.1.33-cli -t not-empty/request-service-php-lib:php71 -f contrib/Dockerfile .
65+
docker build --build-arg PHP_VERSION=7.2.33-cli -t not-empty/request-service-php-lib:php72 -f contrib/Dockerfile .
6466
```
6567

6668
Access the container
6769
```sh
68-
docker run -v ${PWD}/:/var/www/html -it not-empty/request-service-php-lib:php71 bash
70+
docker run -v ${PWD}/:/var/www/html -it not-empty/request-service-php-lib:php72 bash
6971
```
7072

7173
Verify if all dependencies is installed
@@ -92,12 +94,12 @@ To ensure that the entire project is fine:
9294
First you need to building a correct environment to install all dependences
9395

9496
```sh
95-
docker build --build-arg PHP_VERSION=7.1.33-cli -t not-empty/request-service-php-lib:php71 -f contrib/Dockerfile .
97+
docker build --build-arg PHP_VERSION=7.2.33-cli -t not-empty/request-service-php-lib:php72 -f contrib/Dockerfile .
9698
```
9799

98100
Access the container
99101
```sh
100-
docker run -v ${PWD}/:/var/www/html -it not-empty/request-service-php-lib:php71 bash
102+
docker run -v ${PWD}/:/var/www/html -it not-empty/request-service-php-lib:php72 bash
101103
```
102104

103105
Install all dependences

composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
22
"name": "not-empty/request-service-php-lib",
33
"description": "PHP library using Guzzle base to send request to any services. Good to use in microservice architecture",
4-
"version": "1.0.0",
4+
"version": "2.0.0",
55
"type": "library",
66
"license": "GPL-3.0-only",
77
"require": {
8-
"php": "^7.1",
9-
"guzzlehttp/guzzle": "^6.5"
10-
},
11-
"require-dev": {
12-
"phpunit/phpunit": "^7.5",
13-
"mockery/mockery": "^1.3",
14-
"squizlabs/php_codesniffer": "^3.7",
15-
"phpmd/phpmd": "^2.14"
8+
"php": "^7.2",
9+
"guzzlehttp/guzzle": "^7.8"
1610
},
1711
"authors": [
1812
{
@@ -48,5 +42,11 @@
4842
"cs": "vendor/bin/phpcs",
4943
"test": "phpdbg -qrr vendor/bin/phpunit --configuration phpunit.xml -d memory_limit=1024M",
5044
"ccu" : "php contrib/coverage-checker.php coverage/coverage.xml 100"
45+
},
46+
"require-dev": {
47+
"phpunit/phpunit": "^8.5",
48+
"mockery/mockery": "^1.3",
49+
"squizlabs/php_codesniffer": "^3.7",
50+
"phpmd/phpmd": "^2.14"
5151
}
5252
}

0 commit comments

Comments
 (0)