pheature-flags/php-sdk

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "pheature/php-sdk",
    "description": "Feature Flags As A Service PHP SDK.",
    "keywords": ["feature-toggle", "feature-flags"],
    "type": "library",
    "license": "BSD-3-Clause",
    "authors": [
        {
            "name": "kpicaza"
        },
        {
            "name": "pcs289"
        },
        {
            "name": "xserrat"
        }
    ],
    "require": {
        "php": "~8.0.0|~8.1.0|~8.2.0|~8.3.0",
        "pheature/toggle-core": "^0.8",
        "psr/container": "^1.0|^2.0"
    },
    "require-dev": {
        "icanhazstring/composer-unused": "^0.8",
        "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 || ^7.0",
        "vimeo/psalm": "^4.4|^5.16"
    },
    "autoload": {
        "psr-4": {
            "Pheature\\Sdk\\": "src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Pheature\\Test\\Sdk\\": "test"
        }
    },
    "scripts": {
        "check-all": [
            "composer-unused",
            "@cs-check",
            "@test",
            "@inspect",
            "@psalm",
            "@infection"
        ],
        "cs-check": "phpcs src --colors",
        "cs-fix": "phpcbf src --colors",
        "infection": "XDEBUG_MODE=coverage roave-infection-static-analysis-plugin",
        "inspect": "phpstan analyse src -l9 --ansi",
        "psalm": "psalm",
        "test": "phpunit --colors=always"
    },
    "extra": {
        "laminas": {
            "config-provider": "Pheature\\Sdk\\Container\\ConfigProvider"
        }
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "infection/extension-installer": true,
            "icanhazstring/composer-unused": true,
            "phpro/grumphp": true
        }
    }
}