Skip to content
On this page

Installation

Using Composer

You can install the package via composer:

bash
composer require ylsideas/feature-flags:^2.0

Once installed you should publish the config with the following command.

bash
php artisan vendor:publish --provider="YlsIdeas\FeatureFlags\FeatureFlagsServiceProvider" --tag=config

You can customise the features.php config in a number of ways.

Notice

If you find yourself having a problem with the initial setup you may need to create the in memory config using:

sh
php artisan vendor:publish --provider="YlsIdeas\FeatureFlags\FeatureFlagsServiceProvider" --tag=inmemory-config

That said, you should read the Gateways Configuration before continuing.

Released under the MIT License.