Skip to content

open-feature/php-sdk-contrib

OpenFeature PHP SDK Contrib Library

a codecov PHP 8.0+ License Experimental

Overview

The php-contrib-sdk repository is a monorepository containing various providers, hooks, and other integrations for OpenFeature's PHP SDK. Packages include:

Status

This repository is marked as experimental since the repository structure itself could change. However, each the packages within the repository maintains its own release status.

Development

PHP Versioning

This library targets PHP version 8.0 and newer. As long as you have any compatible version of PHP on your system you should be able to utilize the OpenFeature SDK.

This package also has a .tool-versions file for use with PHP version managers like asdf.

Installation and Dependencies

Install dependencies with composer install. composer install will update the composer.lock with the most recent compatible versions.

We value having as few runtime dependencies as possible. The addition of any dependencies requires careful consideration and review.

Testing

Each package implements its own test suite.

Run tests with composer run test in the package's directory.