PHPackages                             infi-nl/laravel-feature-toggle - 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. infi-nl/laravel-feature-toggle

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

infi-nl/laravel-feature-toggle
==============================

Laravel 5 package wrapping joshuaestes/feature-toggle

v1.0.1(11y ago)183.5k2[1 issues](https://github.com/infi-nl/laravel-feature-toggle/issues)MITPHPPHP &gt;=5.3.0

Since Jul 29Pushed 10y ago2 watchersCompare

[ Source](https://github.com/infi-nl/laravel-feature-toggle)[ Packagist](https://packagist.org/packages/infi-nl/laravel-feature-toggle)[ RSS](/packages/infi-nl-laravel-feature-toggle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (4)Versions (4)Used By (0)

Laravel Feature Toggle
======================

[](#laravel-feature-toggle)

[![Travis CI](https://camo.githubusercontent.com/ab8decdbc984e19561f06e2f964e3ad5afaba5649bf000472663f865d9e1092e/68747470733a2f2f7472617669732d63692e6f72672f696e66692d6e6c2f6c61726176656c2d666561747572652d746f67676c652e737667)](https://travis-ci.org/infi-nl/laravel-feature-toggle)[![Total Downloads](https://camo.githubusercontent.com/dafe77e19c4b023bc657b44a7e56e1e5d40d843f166ca5b33b251a4983ed3491/68747470733a2f2f706f7365722e707567782e6f72672f696e66692d6e6c2f6c61726176656c2d666561747572652d746f67676c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/infi-nl/laravel-feature-toggle)[![License](https://camo.githubusercontent.com/0715896783d1726ae5293cf28c72a76b0fe639cba0f0fa5e83c00f14e470e412/68747470733a2f2f706f7365722e707567782e6f72672f696e66692d6e6c2f6c61726176656c2d666561747572652d746f67676c652f6c6963656e73652e737667)](https://packagist.org/packages/infi-nl/laravel-feature-toggle)

Laravel wrapper for [JoshuaEstes/FeatureToggle](https://github.com/JoshuaEstes/FeatureToggle), a library which allows you to easily add and modify various features to your code while in development.

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

[](#installation)

Add the following line to the `require` section of `composer.json`:

```
{
    "require": {
        "infi-nl/laravel-feature-toggle": "dev-master"
    }
}
```

Setup
-----

[](#setup)

1. Add `'InfiNl\LaravelFeatureToggle\LaravelFeatureToggleServiceProvider',` to the service provider list in `app/config/app.php`.
2. Add ` 'FeatureContainer' => 'InfiNl\LaravelFeatureToggle\Facades\FeatureContainerFacade',` to the list of aliases in `app/config/app.php`.

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

[](#configuration)

Create the file &lt;app\_root&gt;/config/packages/infi-nl/laravel-feature-toggle/feature.php and modify it to suit your needs.

The configuration file must be formatted like this:

```
