PHPackages                             halloverden/symfony-feature-flag-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. halloverden/symfony-feature-flag-bundle

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

halloverden/symfony-feature-flag-bundle
=======================================

Ability to enable and disable feature flags with commands

2.0.0(1y ago)1402MITPHPPHP &gt;=8.2

Since Feb 14Pushed 1y ago3 watchersCompare

[ Source](https://github.com/halloverden/symfony-feature-flag-bundle)[ Packagist](https://packagist.org/packages/halloverden/symfony-feature-flag-bundle)[ RSS](/packages/halloverden-symfony-feature-flag-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

HalloVerdenFeatureFlagBundle
============================

[](#halloverdenfeatureflagbundle)

Ability to activate and deactivate features dynamically.

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require halloverden/symfony-feature-flag-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require halloverden/symfony-feature-flag-bundle
```

### Step 2: Enable the Bundle

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

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    HalloVerden\FeatureFlagBundle\HalloVerdenFeatureFlagBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

#### Create an entity representing your feature.

[](#create-an-entity-representing-your-feature)

```
