PHPackages                             twentytwo-labs/api-service-feature-flag - 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. [Database &amp; ORM](/categories/database)
4. /
5. twentytwo-labs/api-service-feature-flag

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

twentytwo-labs/api-service-feature-flag
=======================================

Bundle to manage features flag

1.0.1(1y ago)018MITPHPPHP &gt;= 8.1

Since Sep 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/TwentytwoLabs/api-service-feature-flag)[ Packagist](https://packagist.org/packages/twentytwo-labs/api-service-feature-flag)[ RSS](/packages/twentytwo-labs-api-service-feature-flag/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (3)Used By (0)

ORM Feature Flags Storage
=========================

[](#orm-feature-flags-storage)

Using [ApiServiceBundle](https://github.com/TwentytwoLabs/api-service-bundle) to store [Twentytwo Labs Feature Flags](https://github.com/TwentytwoLabs/feature-flag-bundle).

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

[](#configuration)

```
# config/packages/twentytwo_labs_feature_flag.yaml
twentytwo_labs_feature_flag:
   managers:
      admin:
         factory: twenty-two-labs.feature-flags.factory.api-service
         options:
            client: 'API_SERVICE_ID'
            collection:
               operationId: COLLECTION_OPERATION_ID
               mapper:       #optional
                  page: page #default
               params:
                  accept: 'application/hal+json'
                  itemsPerPage: 30
            item:
               operationId: ITEM_OPERATION_ID
               mapper:
                  identifier: IDENTIFIER

```

where:

- `API_SERVICE_ID` is an api service id starting with `@`
- `COLLECTION_OPERATION_ID` is operationId for get all features
- `ITEM_OPERATION_ID` is operationId for get one feature by IDENTIFIER
- `IDENTIFIER` is a field in HTTP response

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~4 days

Total

2

Last Release

590d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e755df79c9237f59677baef80e49defca9c8a7988c149e5024fa0ccc063c365?d=identicon)[ThibautAlgrin](/maintainers/ThibautAlgrin)

---

Top Contributors

[![thibaut-algrin](https://avatars.githubusercontent.com/u/2413615?v=4)](https://github.com/thibaut-algrin "thibaut-algrin (2 commits)")

---

Tags

symfonyormfeatureflag

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/twentytwo-labs-api-service-feature-flag/health.svg)

```
[![Health](https://phpackages.com/badges/twentytwo-labs-api-service-feature-flag/health.svg)](https://phpackages.com/packages/twentytwo-labs-api-service-feature-flag)
```

###  Alternatives

[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[omines/datatables-bundle

Symfony DataTables Bundle with native Doctrine ORM, Elastica and MongoDB support

2851.4M6](/packages/omines-datatables-bundle)

PHPackages © 2026

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