The php-contrib-sdk
repository is a monorepository containing various providers, hooks, and other integrations for OpenFeature's PHP SDK. Packages include:
- Providers
- Hooks
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.
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
.
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.
Each package implements its own test suite.
Run tests with composer run test
in the package's directory.