Search by

dipswitch / openfeature-provider

dipswitch

Server-side OpenFeature provider for Dipswitch boolean flags over OFREP.

Package info

github.com/kolesrdjanov/dipswitch-openfeature-php

pkg:composer/dipswitch/openfeature-provider

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.1 2026-12-03 23:30 UTC

This package is auto-updated.

Last update: 2026-12-03 23:32:08 UTC


README

This Composer library evaluates boolean flags on the Dipswitch edge using a server SDK key. It requires PHP 8.2+ in the PHP 8 series, ext-curl and the OpenFeature PHP SDK. The PHP quickstart covers installation and a complete application.

Use an HTTPS edge URL outside localhost. The provider warns when a remote endpoint uses plain HTTP.

A check waits up to three seconds, including connection setup. An unavailable edge, an unknown flag or an unsupported type returns the caller's default with OpenFeature error details. After a rate-limit response the provider honors the edge's retry delay for its lifetime.

The provider reuses its HTTP connection across evaluations. Connection failures, server errors, and refused credentials suspend further calls for five seconds. HTTP 429 honors Retry-After up to five minutes. Run the package tests with composer install and composer test.