PHPackages                             ecn/featuretoggle-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. ecn/featuretoggle-bundle

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

ecn/featuretoggle-bundle
========================

Adds feature toggle functionality to your project

v3.0.0(4y ago)113.6k3[4 issues](https://github.com/elbcoast/ECNFeatureToggleBundle/issues)[1 PRs](https://github.com/elbcoast/ECNFeatureToggleBundle/pulls)MITPHPPHP ~8.0 | ~8.1CI failing

Since Jul 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/elbcoast/ECNFeatureToggleBundle)[ Packagist](https://packagist.org/packages/ecn/featuretoggle-bundle)[ RSS](/packages/ecn-featuretoggle-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (7)Versions (12)Used By (0)

ECNFeatureToggleBundle
======================

[](#ecnfeaturetogglebundle)

[![Build Status](https://camo.githubusercontent.com/bff4bbe0010a938e5de82af4d29bde244ae140c06daba2bde092d6952457cea6/68747470733a2f2f7472617669732d63692e6f72672f656c62636f6173742f45434e46656174757265546f67676c6542756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/elbcoast/ECNFeatureToggleBundle)[![SensioLabsInsight](https://camo.githubusercontent.com/9637713ebcae19e1ebd38d3da2d93beb1093d8e020a8ff6cece05908644b716d/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f38356138656435642d373861632d343532332d626239612d6562663033653135663161362f6d696e692e706e67)](https://insight.sensiolabs.com/projects/85a8ed5d-78ac-4523-bb9a-ebf03e15f1a6)

**This bundle adds feature toggle functionality to your Symfony project.**

Requirements
------------

[](#requirements)

In order to install ECNFeatureToggleBundle, you need at least

- PHP 8.0 or greater
- Symfony 5.4 or greater

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

[](#installation)

### Step 1: Install via composer

[](#step-1-install-via-composer)

```
$ composer require ecn/featuretoggle-bundle
```

Functionality of twig is only optional. Require it to your composer if you need it to use it.

```
$ composer require twig/twig
```

### Step 2: Activate the bundle

[](#step-2-activate-the-bundle)

Add the bundle to the AppKernel.php:

```
