PHPackages                             pheature/toggle-core - 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. pheature/toggle-core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pheature/toggle-core
====================

Pheature flags toggle core library.

0.8.0(2y ago)490.9k—5.3%4[2 PRs](https://github.com/pheature-flags/toggle-core/pulls)6BSD-3-ClausePHPPHP ~8.0.0|~8.1.0|~8.2.0|~8.3.0CI passing

Since Jun 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/pheature-flags/toggle-core)[ Packagist](https://packagist.org/packages/pheature/toggle-core)[ GitHub Sponsors](https://github.com/pheature-flags)[ RSS](/packages/pheature-toggle-core/feed)WikiDiscussions 1.0.x Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (18)Used By (6)

Pheature Flags
Toggle Core
===========================

[](#pheature-flags-toggle-core)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e6fb97ea1d4197e6d6fd0b7e2f00d006426d6cee01e7bb021d0af4c90c9c9ee1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70686561747572652f746f67676c652d636f72652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pheature/toggle-core)[![Quality Score](https://camo.githubusercontent.com/9fe7434a0f2f244659ae8e1ea686d17e9d5819d1949c4f1f3ab57d0c53f98ca1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f70686561747572652d666c6167732f746f67676c652d636f72652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/pheature-flags/toggle-core/badges/coverage.png?b=master)[![Type coverage](https://camo.githubusercontent.com/2bb571718e9722bb0285b2186c64059104103cadb094b5b3af76d4523a41b4ba/68747470733a2f2f73686570686572642e6465762f6769746875622f70686561747572652d666c6167732f746f67676c652d636f72652f636f7665726167652e737667)](https://shepherd.dev/github/pheature-flags/toggle-core)[![Test Coverage](https://camo.githubusercontent.com/ef55d0a2a200d8c98eb54c4033557b856a7cb3176026c6def18e5bbe444fcbfe/68747470733a2f2f636f6465636f762e696f2f67682f70686561747572652d666c6167732f746f67676c652d636f72652f6272616e63682f312e302e782f67726170682f62616467652e7376673f746f6b656e3d4454514951555a313036)](https://codecov.io/gh/pheature-flags/toggle-core)[![Mutation testing coverage](https://camo.githubusercontent.com/842d08d9c1b01237de390295130e0875cec159942f44c8d4ec85be339df3b1c6/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d25324670686561747572652d666c616773253246746f67676c652d636f7265253246312e302e78)](https://dashboard.stryker-mutator.io/reports/github.com/pheature-flags/toggle-core/1.0.x)[![Maintainability](https://camo.githubusercontent.com/d603d9f348021a67189b16cb04993b3f730029559135f3c5988a00bd2cc5dd0c/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62666438616231626334363634656337323463302f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/pheature-flags/toggle-model/maintainability)[![Total Downloads](https://camo.githubusercontent.com/3ce9013a3bde0965a69d71e94618391f29bc603c1431c5d11c1e6171fd827b83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70686561747572652f746f67676c652d636f72652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pheature/toggle-core)

Pheature flags toggle core library, take a look to our [main package](https://github.com/pheature-flags/pheature-flags) to see our roadmap and project status.

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

[](#installation)

Install using composer

```
composer require pheature/toggle-core
```

Getting started
---------------

[](#getting-started)

See the docs at main [docs site](https://pheatureflags.io).

Contributing
------------

[](#contributing)

Your contributions are always welcome! Please have a look at the [contribution guidelines](./CONTRIBUTING.md) first.

License
-------

[](#license)

We really believe in the Open Source Software, we built our carers around it, and we feel that we need to return our knowledge to the community. For this reason we release all our packages under [BSD-3-Clause licence](./LICENSE.md).

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 64.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 ~59 days

Recently: every ~124 days

Total

16

Last Release

897d ago

Major Versions

0.8.0 → 1.0.x-dev2023-12-03

PHP version history (5 changes)0.1.0PHP ^7.4|^8.0

0.3.0PHP ^7.4|&gt;=8.0

0.5.0PHP ^7.4|^8.0|^8.1

0.7.0PHP ^7.4|^8.0|^8.1|^8.2

0.8.0PHP ~8.0.0|~8.1.0|~8.2.0|~8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ced65d52f5d7655f87644cd04f4c23df915efe9731bb37cc12f3fd9c31bf88d7?d=identicon)[kpicaza](/maintainers/kpicaza)

---

Top Contributors

[![kpicaza](https://avatars.githubusercontent.com/u/1093654?v=4)](https://github.com/kpicaza "kpicaza (61 commits)")[![pheaturebot](https://avatars.githubusercontent.com/u/82849140?v=4)](https://github.com/pheaturebot "pheaturebot (13 commits)")[![xserrat](https://avatars.githubusercontent.com/u/5933658?v=4)](https://github.com/xserrat "xserrat (10 commits)")[![vblinden](https://avatars.githubusercontent.com/u/1420356?v=4)](https://github.com/vblinden "vblinden (3 commits)")[![pcs289](https://avatars.githubusercontent.com/u/3842377?v=4)](https://github.com/pcs289 "pcs289 (3 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (2 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")[![p0lemic](https://avatars.githubusercontent.com/u/2384059?v=4)](https://github.com/p0lemic "p0lemic (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

feature-flagsfeature-toggleshacktoberfestfeature togglefeature-flags

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pheature-toggle-core/health.svg)

```
[![Health](https://phpackages.com/badges/pheature-toggle-core/health.svg)](https://phpackages.com/packages/pheature-toggle-core)
```

###  Alternatives

[ylsideas/feature-flags

A Laravel package for handling feature flags

6201.4M3](/packages/ylsideas-feature-flags)[flagception/flagception-bundle

Feature toggle bundle on steroids.

283.8M](/packages/flagception-flagception-bundle)[friendsofcat/laravel-feature-flag

Feature Flags for Laravel

311.2M](/packages/friendsofcat-laravel-feature-flag)[worksome/feature-flags

A package to manage feature flags in your application

11506.3k](/packages/worksome-feature-flags)

PHPackages © 2026

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