├── .github └── workflows │ └── run-tests.yml ├── .gitignore ├── .php-cs-fixer.dist.php ├── LICENSE.md ├── README.md ├── composer.json ├── config └── feature-flags.php ├── database ├── factories │ └── FeatureFactory.php └── migrations │ └── create_features_table.php.stub ├── phpunit.xml.dist ├── src ├── Actions │ └── SyncFeaturesAction.php ├── Casts │ └── FeatureStateCast.php ├── Enums │ └── FeatureState.php ├── Events │ ├── Event.php │ └── FeatureUpdatedEvent.php ├── Exceptions │ └── MissingFeatureException.php ├── Facades │ └── FeatureFlag.php ├── FeatureFlags.php ├── FeatureFlagsServiceProvider.php ├── Middleware │ └── VerifyFeatureIsOn.php └── Models │ └── Feature.php └── tests ├── BladeTest.php ├── FeatureFlagTest.php ├── MiddlewareTest.php ├── Pest.php ├── SyncFeaturesActionTest.php └── TestCase.php /.github/workflows/run-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/.github/workflows/run-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/.gitignore -------------------------------------------------------------------------------- /.php-cs-fixer.dist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/.php-cs-fixer.dist.php -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/composer.json -------------------------------------------------------------------------------- /config/feature-flags.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/config/feature-flags.php -------------------------------------------------------------------------------- /database/factories/FeatureFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/database/factories/FeatureFactory.php -------------------------------------------------------------------------------- /database/migrations/create_features_table.php.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/database/migrations/create_features_table.php.stub -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Actions/SyncFeaturesAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Actions/SyncFeaturesAction.php -------------------------------------------------------------------------------- /src/Casts/FeatureStateCast.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Casts/FeatureStateCast.php -------------------------------------------------------------------------------- /src/Enums/FeatureState.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Enums/FeatureState.php -------------------------------------------------------------------------------- /src/Events/Event.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Events/Event.php -------------------------------------------------------------------------------- /src/Events/FeatureUpdatedEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Events/FeatureUpdatedEvent.php -------------------------------------------------------------------------------- /src/Exceptions/MissingFeatureException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Exceptions/MissingFeatureException.php -------------------------------------------------------------------------------- /src/Facades/FeatureFlag.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Facades/FeatureFlag.php -------------------------------------------------------------------------------- /src/FeatureFlags.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/FeatureFlags.php -------------------------------------------------------------------------------- /src/FeatureFlagsServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/FeatureFlagsServiceProvider.php -------------------------------------------------------------------------------- /src/Middleware/VerifyFeatureIsOn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Middleware/VerifyFeatureIsOn.php -------------------------------------------------------------------------------- /src/Models/Feature.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/src/Models/Feature.php -------------------------------------------------------------------------------- /tests/BladeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/tests/BladeTest.php -------------------------------------------------------------------------------- /tests/FeatureFlagTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/tests/FeatureFlagTest.php -------------------------------------------------------------------------------- /tests/MiddlewareTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/tests/MiddlewareTest.php -------------------------------------------------------------------------------- /tests/Pest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/tests/Pest.php -------------------------------------------------------------------------------- /tests/SyncFeaturesActionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/tests/SyncFeaturesActionTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codinglabsau/laravel-feature-flags/HEAD/tests/TestCase.php --------------------------------------------------------------------------------