Download the PHP package worksome/feature-flags without Composer
On this page you can find all versions of the php package worksome/feature-flags. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download worksome/feature-flags
More information about worksome/feature-flags
Files in worksome/feature-flags
Package feature-flags
Short Description A package to manage feature flags in your application
License MIT
Homepage https://github.com/worksome/feature-flags
Informations about the package feature-flags
Feature Flags
A package to manage feature flags in your application. Currently supporting these providers:
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Creating Feature Flags
Feature flags should be registered using one or more enums containing your feature flags.
All feature flag enums must implement the Worksome\FeatureFlags\Contracts\FeatureFlagEnum
contract.
For example, if you had a feature flag called flag-one
, you could create an enum with the following:
Usage in Blade
Changelog
Please see the Releases for more information on what has changed recently.
Testing
We pride ourselves on a thorough test suite and strict static analysis. You can run all of our checks via a composer script:
To make it incredibly easy to contribute, we also provide a docker-compose file that will spin up a container with all the necessary dependencies installed. Assuming you have docker installed, just run:
Support for XDebug is baked into the Docker image, you just need to configure the XDEBUG_MODE
environment variable:
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Lukas Juhas
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of feature-flags with dependencies
guzzlehttp/guzzle Version ^7.8
illuminate/contracts Version ^10.0 || ^11.0
launchdarkly/server-sdk Version ^6.0
spatie/laravel-package-tools Version ^1.16