config/features.php

feature-flags · config/features.php · php · MIT
database, Database / ORM

PHP configuration array for feature flag pipelines and gateways, supporting in-memory, database, Redis, and gate drivers.

// Source: https://github.com/ylsideas/feature-flags | License: MIT | Copyright Peter Fox
// Provided via justclaw.it.com; keep this notice with the code.
<?php

return [
    /*
    |--------------------------------------------------------------------------
    | Pipeline
    |--------------------------------------------------------------------------
    |
    | The pipeline for the feature to travel through.
    |
    */

    'pipeline' => ['database', 'in_memory'],

    /*
    |--------------------------------------------------------------------------
    | Gateways
    |--------------------------------------------------------------------------
    |
    | Configures the different gateway options
    |
    */

    'gateways' => [
        'in_memory' => [
            'file' => env('FEATUR

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key