Skip to main content
The westyx/nexus-openfeature package lets you use Westyx Nexus as an OpenFeature provider in PHP applications. It wraps an already-initialized NexusClient and delegates all evaluations to the in-memory cache - no additional network calls are made.

Installation

westyx/nexus-openfeature is not yet available in the Composer Package Registry. The GitLab Composer registry can only register the root package per repository; the OpenFeature provider lives in a sub-directory and cannot be published via the same tag-based mechanism. A dedicated Composer distribution is planned. Until then, install from source by copying the openfeature/src/ directory from the PHP SDK repository into your project.
Once the package is distributed, installation will be:
Requires: PHP 8.3+, open-feature/sdk ^2.0, westyx/nexus >=0.8.0.

Usage

Evaluation behavior

EvaluationContext is ignored - Nexus has no per-user targeting. All successful resolutions return reason STATIC.