twentytwo-labs / orm-feature-flag
Bundle to manage features flag
Package info
github.com/TwentytwoLabs/orm-feature-flag
Type:symfony-bundle
pkg:composer/twentytwo-labs/orm-feature-flag
1.0.3
2026-08-31 18:47 UTC
Requires
- php: >= 8.2
- doctrine/orm: *
- symfony/serializer: ^6.0|^7.0|^8.0
- twentytwo-labs/feature-flag-bundle: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- infection/infection: 0.29|0.35
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^12.0|^13.0
- squizlabs/php_codesniffer: ^3.13
- symfony/security-bundle: ^6.0|^7.0|^8.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-02 21:15:14 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:
ENTITYis an Entity witch implementFeatureInterfaceIDENTIFIERis a field in ENTITY