Skip to content

Commit 05eea2f

Browse files
Support PHP 8.1 and psr/cache v2 and v3
1 parent 823bc87 commit 05eea2f

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: ['7.2', '7.3', '7.4', '8.0']
14+
php: ['7.2', '7.3', '7.4', '8.0', '8.1']
1515

1616
steps:
1717
- name: Checkout Code

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ Check out the [change log](CHANGELOG.md), [releases](https://github.com/Bitbucke
2323

2424
## Installation
2525

26-
This version supports [PHP](https://php.net) 7.2-8.0. To get started, simply require the project using [Composer](https://getcomposer.org). You will also need to install packages that "provide" [`psr/http-client-implementation`](https://packagist.org/providers/psr/http-client-implementation) and [`psr/http-factory-implementation`](https://packagist.org/providers/psr/http-factory-implementation).
26+
This version supports [PHP](https://php.net) 7.2-8.1. To get started, simply require the project using [Composer](https://getcomposer.org). You will also need to install packages that "provide" [`psr/http-client-implementation`](https://packagist.org/providers/psr/http-client-implementation) and [`psr/http-factory-implementation`](https://packagist.org/providers/psr/http-factory-implementation).
2727

2828
### Standard Installation
2929

3030
```bash
31-
$ composer require "bitbucket/client:^4.1" "guzzlehttp/guzzle:^7.2" "http-interop/http-factory-guzzle:^1.0"
31+
$ composer require "bitbucket/client:^4.1" "guzzlehttp/guzzle:^7.4" "http-interop/http-factory-guzzle:^1.0"
3232
```
3333

3434
### Framework Integration
3535

3636
#### Laravel 6+:
3737

3838
```bash
39-
$ composer require "graham-campbell/bitbucket:^8.1" "guzzlehttp/guzzle:^7.2" "http-interop/http-factory-guzzle:^1.0"
39+
$ composer require "graham-campbell/bitbucket:^8.1" "guzzlehttp/guzzle:^7.4" "http-interop/http-factory-guzzle:^1.0"
4040
```
4141

4242
We are decoupled from any HTTP messaging client by using [PSR-7](https://www.php-fig.org/psr/psr-7/), [PSR-17](https://www.php-fig.org/psr/psr-17/), [PSR-18](https://www.php-fig.org/psr/psr-18/), and [HTTPlug](https://httplug.io/). You can visit [HTTPlug for library users](https://docs.php-http.org/en/latest/httplug/users.html) to get more information about installing HTTPlug related packages. The framework integration [`graham-campbell/bitbucket`](https://github.com/GrahamCampbell/Laravel-Bitbucket) is by [Graham Campbell](https://github.com/GrahamCampbell).

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@
1313
"require": {
1414
"php": "^7.2.5 || ^8.0",
1515
"ext-json": "*",
16-
"php-http/cache-plugin": "^1.7.1",
17-
"php-http/client-common": "^2.3",
18-
"php-http/discovery": "^1.12",
16+
"php-http/cache-plugin": "^1.7.5",
17+
"php-http/client-common": "^2.5",
18+
"php-http/discovery": "^1.14",
1919
"php-http/httplug": "^2.2",
20-
"php-http/multipart-stream-builder": "^1.1.2",
21-
"psr/cache": "^1.0",
20+
"php-http/multipart-stream-builder": "^1.2",
21+
"psr/cache": "^1.0 || ^2.0 || ^3.0",
2222
"psr/http-client-implementation": "^1.0",
2323
"psr/http-factory-implementation": "^1.0",
2424
"psr/http-message": "^1.0",
2525
"symfony/polyfill-php80": "^1.17"
2626
},
2727
"require-dev": {
2828
"bamarni/composer-bin-plugin": "^1.4.1",
29-
"guzzlehttp/guzzle": "^7.2",
29+
"guzzlehttp/guzzle": "^7.4",
3030
"http-interop/http-factory-guzzle": "^1.0",
31-
"php-http/mock-client": "^1.4.1"
31+
"php-http/mock-client": "^1.5"
3232
},
3333
"autoload": {
3434
"psr-4": {

0 commit comments

Comments
 (0)