Skip to content

Commit

Permalink
Update php compatibility info
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-aln committed Dec 14, 2023
1 parent ce790fe commit 5cb8fc0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
max-parallel: 1
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2]
php: [8.1, 8.2, 8.3]
env:
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
SUBSCRIBE_KEY: ${{ secrets.SUBSCRIBE_KEY }}
Expand Down
80 changes: 30 additions & 50 deletions .pubnub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,9 @@ supported-platforms:
- Mac OS X 10.8 or later, amd64
- Windows 7 or later, amd64, 386
editors:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
sdks:
- full-name: PHP SDK
short-name: PHP
Expand Down Expand Up @@ -289,11 +287,9 @@ sdks:
supported-operating-systems:
macOS:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Mac OS X 10.8
maximum-os-version:
Expand All @@ -303,11 +299,9 @@ sdks:
- x86-64
Windows:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Windows 7 Professional
- Windows 7 Enterprise
Expand All @@ -320,11 +314,9 @@ sdks:
- x86-64
Linux:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Ubuntu 16.04 LTS
maximum-os-version:
Expand Down Expand Up @@ -357,11 +349,9 @@ sdks:
supported-operating-systems:
macOS:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Mac OS X 10.8
maximum-os-version:
Expand All @@ -371,11 +361,9 @@ sdks:
- x86-64
Windows:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Windows 7 Professional
- Windows 7 Enterprise
Expand All @@ -388,11 +376,9 @@ sdks:
- x86-64
Linux:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Ubuntu 16.04 LTS
maximum-os-version:
Expand Down Expand Up @@ -425,11 +411,9 @@ sdks:
supported-operating-systems:
macOS:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Mac OS X 10.8
maximum-os-version:
Expand All @@ -439,11 +423,9 @@ sdks:
- x86-64
Windows:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Windows 7 Professional
- Windows 7 Enterprise
Expand All @@ -456,11 +438,9 @@ sdks:
- x86-64
Linux:
runtime-version:
- PHP 5.6
- PHP 7.0
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 8.1
- PHP 8.2
- PHP 8.3
minimum-os-version:
- Ubuntu 16.04 LTS
maximum-os-version:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is the official PubNub PHP SDK repository.

PubNub takes care of the infrastructure and APIs needed for the realtime communication layer of your application. Work on your app's logic and let PubNub handle sending and receiving data across the world in less than 100ms.

The SDK supports PHP 7.4 and 8.x.
The SDK supports PHP 8.x but may also work on 7.4.

## Get keys

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test": "./vendor/bin/phpunit tests/ --verbose --coverage-clover=coverage.clover"
},
"require": {
"php": "^7.4|>=8.0",
"php": ">=8.1",
"rmccue/requests": "^2.0",
"psr/log": "^1.1|^2.0|^3.0"
},
Expand Down

0 comments on commit 5cb8fc0

Please sign in to comment.