twentytwo-labs / orm-feature-flag
Bundle to manage features flag
Installs: 81
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >= 8.1
- doctrine/orm: *
- symfony/serializer: ^5.4|^6.0|^7.0
- twentytwo-labs/feature-flag-bundle: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- infection/infection: ^0.29
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^10.0|^11.0
- squizlabs/php_codesniffer: ^3.10
- symfony/security-bundle: ^5.4|^6.0|^7.0
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 implementFeatureInterface
IDENTIFIER
is a field in ENTITY