PHPackages                             kukulili-labs/feature-toggle-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kukulili-labs/feature-toggle-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

kukulili-labs/feature-toggle-bundle
===================================

A bundle to manage feature toggles.

v1.0.0(12y ago)317.4k1MITPHPPHP &gt;=5.3.2

Since Nov 7Pushed 12y ago1 watchersCompare

[ Source](https://github.com/kukulili-labs/FeatureToggleBundle)[ Packagist](https://packagist.org/packages/kukulili-labs/feature-toggle-bundle)[ Docs](https://github.com/kukulili-labs/FeatureToggleBundle)[ RSS](/packages/kukulili-labs-feature-toggle-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

FeatureToggleBundle
===================

[](#featuretogglebundle)

A bundle to manage feature toggles.

This Bundle is inspired by the [SoclozFeatureFlagBundle](https://github.com/SoCloz/SoclozFeatureFlagBundle).

[![Build Status](https://camo.githubusercontent.com/1e9df47e60a0b9a586d4c4220e1efa49446247173cd0383b407b6f4ae5ec5afd/68747470733a2f2f7472617669732d63692e6f72672f6b756b756c696c692d6c6162732f46656174757265546f67676c6542756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/kukulili-labs/FeatureToggleBundle) [![Dependency Status](https://camo.githubusercontent.com/d21155333319a5b027c6dff2f8ff5cc12104887bb6e9b48326198b74bfae1e6c/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3532383334366433363332626163663166393030303131382f62616467652e706e67)](https://www.versioneye.com/user/projects/528346d3632bacf1f9000118)

Installation
------------

[](#installation)

Install package with composer

```
"kukulili-labs/feature-toggle-bundle": "dev-master"
```

Register bundles in AppKernel

```
new KukuliliLabs\FeatureToggleBundle\KukuliliLabsFeatureToggleBundle(),
```

Configuration
-------------

[](#configuration)

The basic configuration is:

```
# app/config/config.yml
kukulili_labs_feature_toggle:
	feature_toggles:
		feature_toggles_name: # change it to the name of your feature toggle
			state: enabled # change to disabled for disable your feature toggle
			description: # this option is optional and will be used later
```

Using
-----

[](#using)

Controller

```
if ($this->get('kukulili_labs_feature_toggle.feature_toggles')->isEnabled('feature_toggles_name')) {...}
```

Twig

```
{% if feature_toggle_is_enabled('feature_toggles_name') %}
...
{% endif %}
```

Dis-/Enabling a specific feature toggle on a session

```
$this->get('kukulili_labs_feature_toggle.feature_toggles')->disableForSession('feature_toggles_name');
$this->get('kukulili_labs_feature_toggle.feature_toggles')->enableForSession('feature_toggles_name');
```

License
-------

[](#license)

This bundle is released under the MIT license (see LICENSE).

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4617d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2554001?v=4)[kukulili labs](/maintainers/kukulili-labs)[@kukulili-labs](https://github.com/kukulili-labs)

---

Top Contributors

[![labs-scnm](https://avatars.githubusercontent.com/u/1318821?v=4)](https://github.com/labs-scnm "labs-scnm (11 commits)")

---

Tags

featureflagtoggle

### Embed Badge

![Health badge](/badges/kukulili-labs-feature-toggle-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kukulili-labs-feature-toggle-bundle/health.svg)](https://phpackages.com/packages/kukulili-labs-feature-toggle-bundle)
```

###  Alternatives

[opensoft/rollout

Feature switches or flags for PHP

2571.9M5](/packages/opensoft-rollout)[zumba/swivel

Strategy driven feature toggles

208138.1k5](/packages/zumba-swivel)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[novaway/feature-flag-bundle

Very KISS bundle to manage features flag

24287.1k](/packages/novaway-feature-flag-bundle)[ajgarlag/feature-flag-bundle

Provides a feature flag mechanism

1419.9k](/packages/ajgarlag-feature-flag-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
