PHPackages                             nusje2000/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. nusje2000/feature-toggle-bundle

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

nusje2000/feature-toggle-bundle
===============================

A bundle for adding and managing feature toggles in your project

v6.0.0(1y ago)415.5k↓26.9%2[7 issues](https://github.com/nusje2000/feature-toggle-bundle/issues)MITPHPPHP ^8.1

Since May 19Pushed 1y ago2 watchersCompare

[ Source](https://github.com/nusje2000/feature-toggle-bundle)[ Packagist](https://packagist.org/packages/nusje2000/feature-toggle-bundle)[ RSS](/packages/nusje2000-feature-toggle-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (19)Versions (35)Used By (0)

Nusje2000/FeatureToggleBundle
=============================

[](#nusje2000featuretogglebundle)

Motivation
----------

[](#motivation)

At the company I work for, we needed a way to hide unfinished features from custommers. We work with scheduled releases every week and want to deploy there versions as fast as possible. This bundle provides an implementation of feature toggles, that can be easely intergrated with the symfony framework.

We have 10+ deployed symfony projects all with their own features that can be enabled and disabled. Currently, we use the parameters.yaml file for this, but this has been proven to not be efficient. Each time we release a new feature, we have to ssh to the server and edit the file manually. This is fearly time-consuming considdering we sometimes have to do this to multiple environments on different servers.

Structure
---------

[](#structure)

### Environments

[](#environments)

An environment is a set of feature toggles. Let's say you have multiple projects running that all use syfmony, by using this bundle, you can have all the features acros these applications managed in one place. Multiple instances of the same applications (maybe across multiple servers) can also be seen as different environments and all can have their own set of features.

#### Environments when only having a single application

[](#environments-when-only-having-a-single-application)

When just writing a simple project that will be deployed on a single server, you will just have one environment. This bundle will also covers this usecase.

### Features

[](#features)

A feature is a component within your application, within this application a feature can have two states: disabled and enabled. A feature is coupled to an environment and different environments can have a different set of features.

### Repository

[](#repository)

Features and environments are stored in repositories. Some different repository implementations will be inculded within this bundle, but they are also easy to write yourself.

Usage
-----

[](#usage)

For a detailed guide on how to use this bundle, see the [documentation](USAGE.md).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 60.2% 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

Every ~48 days

Recently: every ~175 days

Total

26

Last Release

630d ago

Major Versions

v1.1.1 → v2.0.02021-11-03

v2.1.1 → v3.0.02022-06-13

v3.0.0 → v4.0.02022-07-01

v4.0.1 → v5.0.02023-06-23

v5.2.0 → v6.0.02024-08-26

PHP version history (4 changes)v0.1.0PHP ^7.2

v2.0.0PHP ^7.2 || ^8.0

v3.0.0PHP ^8.0

v5.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/17175959?v=4)[Maarten Nusteling](/maintainers/nusje2000)[@nusje2000](https://github.com/nusje2000)

---

Top Contributors

[![nusje2000](https://avatars.githubusercontent.com/u/17175959?v=4)](https://github.com/nusje2000 "nusje2000 (59 commits)")[![KevinVanSonsbeek](https://avatars.githubusercontent.com/u/21358095?v=4)](https://github.com/KevinVanSonsbeek "KevinVanSonsbeek (39 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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