Skip to content

Commit 3bc39c6

Browse files
authored
Merge pull request #47 from php-api-clients/unlock-php-8
Unlock PHP 8
2 parents 5ed3848 + e3e82a2 commit 3bc39c6

File tree

3 files changed

+715
-108
lines changed

3 files changed

+715
-108
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Pusher API Client for PHP 7
1+
# Pusher API Client for PHP 7 and 8
22

33
[![Linux Build Status](https://travis-ci.org/php-api-clients/pusher.svg?branch=master)](https://travis-ci.org/php-api-clients/pusher)
44
[![Latest Stable Version](https://poser.pugx.org/api-clients/pusher/v/stable.png)](https://packagist.org/packages/api-clients/pusher)
@@ -12,7 +12,7 @@
1212
To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.
1313

1414
```bash
15-
composer require api-clients/pusher
15+
composer require api-clients/pusher
1616
```
1717

1818
# Usage

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.2",
13+
"php": "^8 || ^7.2",
1414
"api-clients/command-bus": "^2.0",
1515
"clue/block-react": "^1.1",
1616
"jean85/pretty-package-versions": "^1.0",
@@ -43,6 +43,10 @@
4343
"sort-packages": true,
4444
"platform": {
4545
"php": "7.2"
46+
},
47+
"allow-plugins": {
48+
"ocramius/package-versions": true,
49+
"localheinz/composer-normalize": true
4650
}
4751
},
4852
"extra": {

0 commit comments

Comments
 (0)