PHPackages                             mileschou/toggle-simplify - 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. mileschou/toggle-simplify

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

mileschou/toggle-simplify
=========================

The simplify feature toggle library for PHP

v2.0.0(5y ago)23.4k11MITPHPPHP ^7.1 | ^8.0CI failing

Since Dec 2Pushed 5y ago1 watchersCompare

[ Source](https://github.com/MilesChou/toggle-simplify)[ Packagist](https://packagist.org/packages/mileschou/toggle-simplify)[ RSS](/packages/mileschou-toggle-simplify/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (2)Versions (8)Used By (1)

Toggle (Simplify)
=================

[](#toggle-simplify)

[![Testing](https://github.com/MilesChou/toggle-simplify/actions/workflows/testing.yml/badge.svg)](https://github.com/MilesChou/toggle-simplify/actions/workflows/testing.yml)[![codecov](https://camo.githubusercontent.com/9630489c1dba8f6bb3cc98aac9b995f4545cea26055bd6b4f81f66aae8c02caa/68747470733a2f2f636f6465636f762e696f2f67682f4d696c657343686f752f746f67676c652d73696d706c6966792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/MilesChou/toggle-simplify)[![Codacy Badge](https://camo.githubusercontent.com/24e406a46f29a8d0216f66ac5c20f97a72b9e0cf8ae417c62edcbef119b0d84a/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6563383832643261616561653433313138353738626664663638326234326633)](https://www.codacy.com/manual/MilesChou/toggle-simplify)[![Latest Stable Version](https://camo.githubusercontent.com/aa098370332c30dcac935284aec6706eb4e5251b55c5149902b305f3f262fb31/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f746f67676c652d73696d706c6966792f762f737461626c65)](https://packagist.org/packages/MilesChou/toggle-simplify)[![Total Downloads](https://camo.githubusercontent.com/e4ff8ed38ed21e601ff3056da9f9dff5c3a849dc363f3e7b38032d07c074e75f/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f746f67676c652d73696d706c6966792f642f746f74616c2e737667)](https://packagist.org/packages/MilesChou/toggle-simplify)[![License](https://camo.githubusercontent.com/9b57f81e334478247c9eadbb0301d4919afc7f34136bb70ca306728e58754629/68747470733a2f2f706f7365722e707567782e6f72672f4d696c657343686f752f746f67676c652d73696d706c6966792f6c6963656e7365)](https://packagist.org/packages/MilesChou/toggle-simplify)

The simplify feature toggle library for PHP

Concept
-------

[](#concept)

Coming soon...

Usage
-----

[](#usage)

Just one file! Using the `Toggle` to do everything.

### Feature Toggle

[](#feature-toggle)

Use the fixed result:

```
