Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
php-version:
description: 'Which version of PHP should we setup?'
required: false
default: 8.0
default: 8.1
token:
description: 'Token used to prevent composer rate limiting'
required: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
php-versions: [8.0, 8.1]
php-versions: [8.1, 8.2, 8.3]

steps:
- uses: actions/checkout@v4
Expand All @@ -32,7 +32,7 @@ jobs:

strategy:
matrix:
php-version: [8.0.30, 8.1.26]
php-version: [8.1.26, 8.2.19, 8.3.8]

env:
LD_INCLUDE_INTEGRATION_TESTS: 1
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This provider is designed primarily for use in multi-user systems such as web se

## Supported PHP versions

This version of the LaunchDarkly provider works with PHP 8.0 and above.
This version of the LaunchDarkly provider works with PHP 8.1 and above.

## Getting started

Expand All @@ -33,7 +33,7 @@ Example composer dependencies:
```json
{
"require": {
"php": ">=8.0",
"php": ">=8.1",
"launchdarkly/openfeature-server": "^1.0"
}
}
Expand All @@ -46,8 +46,7 @@ use OpenFeature\OpenFeatureAPI;
use OpenFeature\implementation\flags\Attributes;
use OpenFeature\implementation\flags\EvaluationContext;

$ldClient = new LaunchDarkly\LDClient("my-sdk-key");
$provider = new LaunchDarkly\OpenFeature\Provider($ldClient);
$provider = new LaunchDarkly\OpenFeature\Provider("my-sdk-key");

$api = OpenFeatureAPI::getInstance();
$api->setProvider($provider);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"require": {
"php": ">=8.0",
"php": ">=8.1",
"guzzlehttp/guzzle": "^7",
"launchdarkly/server-sdk": "^6.2",
"myclabs/php-enum": ">1.8",
Expand Down