aubes/openfeature-flagd-bundle

Symfony bundle for the OpenFeature Flagd provider

Maintainers

Package info

github.com/aubes/openfeature-flagd-bundle

Type:symfony-bundle

pkg:composer/aubes/openfeature-flagd-bundle

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-04-12 11:24 UTC

This package is auto-updated.

Last update: 2026-04-12 11:26:43 UTC


README

CI Latest Version PHP Version Symfony Version

Symfony bundle that registers the OpenFeature Flagd provider as a Symfony service.

Flagd in Symfony, one composer require away.

Requirements

  • PHP 8.2+
  • Symfony 6.4, 7.4 or 8.x
  • A PSR-18 HTTP client (e.g. symfony/http-client, guzzlehttp/guzzle) and PSR-17 factories (e.g. nyholm/psr7)

Installation

composer require aubes/openfeature-flagd-bundle symfony/http-client nyholm/psr7

Note: Without a Symfony Flex recipe, register the bundle manually in config/bundles.php:

Aubes\OpenFeatureFlagdBundle\OpenFeatureFlagdBundle::class => ['all' => true],

Configuration

# config/packages/open_feature_flagd.yaml
open_feature_flagd:
    host: '%env(FLAGD_HOST)%'    # default: localhost
    port: 8013                    # default: 8013
    protocol: http                # default: http (http or grpc)
    secure: false                 # default: false

The bundle registers a FlagdProvider service in the Symfony container with the configured connection parameters and PSR-18/PSR-17 services.

Running flagd

See the flagd quick start for installation and configuration.

License

MIT. See LICENSE.