twentytwo-labs/orm-feature-flag

Bundle to manage features flag

1.0.2 2024-09-29 20:26 UTC

This package is auto-updated.

Last update: 2024-10-29 20:44:36 UTC


README

Using Doctrine to store Twentytwo Labs Feature Flags.

Configuration

# config/packages/twentytwo_labs_feature_flag.yaml
twentytwo_labs_feature_flag:
   managers:
      admin:
         factory: twenty-two-labs.feature-flags.factory.orm
         options:
            class: ENTITY
            identifier: IDENTIFIER #default "key"

where:

  • ENTITY is an Entity witch implement FeatureInterface
  • IDENTIFIER is a field in ENTITY