pheature-flags/mezzio-toggle

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "pheature/mezzio-toggle",
    "description": "Pheature flags Laminas Mezzio toggle.",
    "keywords": ["feature-toggle", "feature-flags"],
    "type": "library",
    "license": "BSD-3-Clause",
    "authors": [
        {
            "name": "kpicaza"
        },
        {
            "name": "pcs289"
        },
        {
            "name": "xserrat"
        }
    ],
    "require": {
        "php": "^7.4|^8.0|^8.1|^8.2",
        "laminas/laminas-diactoros": "^2.6",
        "mezzio/mezzio": "^3.3",
        "mezzio/mezzio-helpers": "^5.4",
        "pheature/toggle-crud-psr11-factories": "^0.7",
        "pheature/toggle-model": "^0.7"
    },
    "require-dev": {
        "icanhazstring/composer-unused": "^0.8",
        "pheature/php-sdk": "^0.7",
        "pheature/toggle-crud-psr7-api": "^0.7",
        "phpcompatibility/php-compatibility": "^9.3",
        "phpro/grumphp": "^1.0",
        "phpstan/phpstan": "^1.0",
        "phpunit/phpunit": "^8.0 || ^9.0",
        "roave/infection-static-analysis-plugin": "^1.18",
        "squizlabs/php_codesniffer": "^3.4",
        "symfony/var-dumper": "^4.2 || ^5.0 || ^6.0",
        "vimeo/psalm": "^4.4"
    },
    "autoload": {
        "psr-4": {
            "Pheature\\Community\\Mezzio\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Pheature\\Test\\Community\\Mezzio\\": "test"
        }
    },
    "scripts": {
        "check-all": [
            "composer-unused  --excludePackage=laminas/laminas-diactoros",
            "@cs-check",
            "@test",
            "@inspect",
            "@psalm",
            "@infection"
        ],
        "cs-check": "phpcs src --colors",
        "cs-fix": "phpcbf src --colors",
        "inspect": "phpstan analyse src -l9 --ansi",
        "test": "phpunit --colors=always",
        "psalm": "psalm",
        "infection": "XDEBUG_MODE=coverage roave-infection-static-analysis-plugin"
    },
    "extra": {
        "laminas": {
            "config-provider": "Pheature\\Community\\Mezzio\\ToggleConfigProvider"
        }
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "infection/extension-installer": true,
            "icanhazstring/composer-unused": true,
            "phpro/grumphp": true
        }
    },
    "suggest": {
        "pheature/dbal-toggle": "Dbal toggle implementation",
        "pheature/inmemory-toggle": "In memory toggle implementation"
    }
}