bestit / Flagception Bundle
Licence: mit
Feature flags on steroids!
Stars: ✭ 162
Projects that are alternatives of or similar to Flagception Bundle
ld-redux
A library to integrate launch darkly with react redux
Stars: ✭ 33 (-79.63%)
Mutual labels: feature-flags, feature-toggles, feature
Flipper
🐬 Beautiful, performant feature flags for Ruby.
Stars: ✭ 2,732 (+1586.42%)
Mutual labels: feature-flags, feature-toggles, feature
ld-scheduler
Schedule Launch Darkly flags on or off
Stars: ✭ 14 (-91.36%)
Mutual labels: feature-flags, feature-toggles, feature
unleash-client-java
Unleash client SDK for Java
Stars: ✭ 86 (-46.91%)
Mutual labels: feature-flags, feature-toggles, feature
jest-launchdarkly-mock
Easily unit test LaunchDarkly feature flagged components with jest
Stars: ✭ 14 (-91.36%)
Mutual labels: feature-flags, feature-toggles, feature
Featureflagsbundle
Symfony2 Bundle to implement Feature Flags to your Application
Stars: ✭ 63 (-61.11%)
Mutual labels: bundle, feature-flags, symfony
Unleash
Unleash is the open source feature toggle service.
Stars: ✭ 4,679 (+2788.27%)
Mutual labels: feature-flags, feature-toggles, feature
Unleash Client Go
Unleash Client for Go
Stars: ✭ 78 (-51.85%)
Mutual labels: feature-flags, feature-toggles, feature
Debug Bundle
The DebugBundle allows greater integration of the VarDumper component in the Symfony full-stack framework.
Stars: ✭ 2,033 (+1154.94%)
Mutual labels: bundle, symfony
Nelmiocorsbundle
The NelmioCorsBundle allows you to send Cross-Origin Resource Sharing
headers with ACL-style per-URL configuration.
Stars: ✭ 1,615 (+896.91%)
Mutual labels: bundle, symfony
Vichuploaderbundle
A simple Symfony bundle to ease file uploads with ORM entities and ODM documents.
Stars: ✭ 1,613 (+895.68%)
Mutual labels: bundle, symfony
Crauegeobundle
Doctrine functions for calculating geographical distances in your Symfony project.
Stars: ✭ 112 (-30.86%)
Mutual labels: bundle, symfony
Liipimaginebundle
Symfony Bundle to assist in imagine manipulation using the imagine library
Stars: ✭ 1,516 (+835.8%)
Mutual labels: bundle, symfony
Flagr
Flagr is a feature flagging, A/B testing and dynamic configuration microservice
Stars: ✭ 1,776 (+996.3%)
Mutual labels: feature-flags, feature-toggles
Liipcachecontrolbundle
DEPRECATED! This bundle is superseded by FOSHttpCacheBundle. A migration guide is in the README of LiipCacheControlBundle
Stars: ✭ 108 (-33.33%)
Mutual labels: bundle, symfony
Passwordstrengthbundle
Symfony Password strength and blacklisting validator bundle
Stars: ✭ 123 (-24.07%)
Mutual labels: bundle, symfony
Webpack Bundle
Bundle to Integrate Webpack into Symfony
Stars: ✭ 124 (-23.46%)
Mutual labels: bundle, symfony
Swiftmailer Bundle
Symfony Swiftmailer Bundle
Stars: ✭ 1,558 (+861.73%)
Mutual labels: bundle, symfony
Craueconfigbundle
Database-stored settings made available via a service for your Symfony project.
Stars: ✭ 154 (-4.94%)
Mutual labels: bundle, symfony
Flagception
Feature toggle bundle on steroids! Flagception is a simple and powerful feature toggle system for php. This bundle integrates the Flagception PHP Libary for symfony 2.7 to 5.* (and php 5.6 to php7.*).
Bundle Version (Tag) | Support Symfony | Branch |
---|---|---|
<=3 | 2.7 - 4.4 | 3.x |
>=4 | 4.4 - current | master |
$ composer require flagception/flagception-bundle
Documentation
- Installation
- Upgrade from 2.x
- Upgrade from 3.x
- Usage
- Twig flags
- Route flags
- Annotation flags
- Constraints
- Environment variables
- Cookies
- Database
- Activators
- Profiler
Quick example
Set some feature in your config (or use your own activator for fetching features from wherever you want) ...
flagception:
# Your Features (optional you left it empty)
features:
# Feature name as key
feature_123:
# Default flag if inactive or active (default: false)
default: true
# Feature state from an environment variable
feature_abc:
env: FEATURE_ENV_ABC
# Feature with constraint (active if user id is 12 OR it is between 8 am and 6 pm)
feature_def:
constraint: 'user_id == 12 or (date("H") > 8 and date("H") < 18)'
# All togther (chain)
feature_def:
default: false
env: FEATURE_ENV_ABC
constraint: 'user_id == 12 or (date("H") > 8 and date("H") < 18)'
... and use it in controller, services or twig:
{% if feature('feature_123') %}
{# Execute if feature is active ... #}
{% endif %}
See usage documentation for detailed examples.
Profiler
This bundle ships a profiler tab, where you can see how often a feature was requested, which results it returns (active or inactive) and the given context.
Credits
Profiler icon from https://github.com/ionic-team/ionicons
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].