PHPackages                             cidekar/laravel-feature-flags - 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. cidekar/laravel-feature-flags

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

cidekar/laravel-feature-flags
=============================

A super simple feature flag package for Laravel.

v1.0.1(3y ago)1211MITPHPPHP ^8.0

Since Feb 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Cidekar/Laravel-Simple-Feature-Flags)[ Packagist](https://packagist.org/packages/cidekar/laravel-feature-flags)[ RSS](/packages/cidekar-laravel-feature-flags/feed)WikiDiscussions main Synced 2d ago

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

[![](https://user-images.githubusercontent.com/4164072/217960315-cbb6dcd6-a84a-4222-976e-8e3656e146a2.png)](https://user-images.githubusercontent.com/4164072/217960315-cbb6dcd6-a84a-4222-976e-8e3656e146a2.png)

Introduction
============

[](#introduction)

Laravel Simple Feature Flags provides one approach to securing your application's features. By assigning our middleware to your application's route, the feature flag middleware receives a flag name argument and verifies the route is ready to receive traffic. An 403 HTTP access denied response is returned by default.

Motivation
----------

[](#motivation)

Feature flags are not a novel concept and several packages already exist. Laravel Simple Feature Flags aims to make securing features via routes dead-simple. Create a flag, add it to your route middleware, and manage it through the CLI.

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

[](#installation)

This package can be installed with Composer:

`$ composer require cidekar/laravel-feature-flags:^1.0"`

Publish the migrations (optional):

`$ php artisan vendor:publish -provider="Cidekar\FeatureFlags\FeatureFlagsServiceProvider`

Run the migrations:

`$ php artisan migrate`

Create a feature:

`$ php artisan features:flag registration`

Check for a feature:

` Route::resource('/registration', ...)->middleware(['flags:registration']);`

Testing
-------

[](#testing)

To get started, make sure you have SQLite installed on your system.

```
    $ sqlite --version

    # 3.37.0
```

Now, you may run the package's tests:

```
   $ php vendor/bin/testbench package:test

    #   PASS  Cidekar\FeatureFlags\Tests\Commands\CreateFlagCommandTest
    # ✓ it can create via console command
    # ✓ it can create a flag with description option
    # ✓ it can create a flag with active option
    # ✓ it can create a flag with name argument
    # ✓ it can programmatically create a flag
    # ...
```

Security
--------

[](#security)

Please do not publicly disclose security-related issues, email . Security vulnerabilities will be promptly addressed.

License
-------

[](#license)

Copyright 2023 Cidekar, LLC. All rights reserved.

[Apache License 2.0](./license.md)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1240d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b7adbb13a86882c38365348d6dca3f7ef8a43d789d80803fa843e2a0c314a9a?d=identicon)[packagist@cidekar.com](/maintainers/packagist@cidekar.com)

---

Top Contributors

[![harrisonde](https://avatars.githubusercontent.com/u/4164072?v=4)](https://github.com/harrisonde "harrisonde (5 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (2 commits)")

### Embed Badge

![Health badge](/badges/cidekar-laravel-feature-flags/health.svg)

```
[![Health](https://phpackages.com/badges/cidekar-laravel-feature-flags/health.svg)](https://phpackages.com/packages/cidekar-laravel-feature-flags)
```

###  Alternatives

[bruli/php-git-hooks

Git hooks for PHP projects.

669372.2k5](/packages/bruli-php-git-hooks)[yiister/yii2-advanced-grid

Advanced GridView extension for Yii framework 2

4712.6k](/packages/yiister-yii2-advanced-grid)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
