{
    "name": "shlinkio/shlink-config",
    "type": "library",
    "homepage": "https://shlink.io",
    "description": "Utils to load, parse and work with configuration on Shlink project",
    "license": "MIT",
    "authors": [
        {
            "name": "Alejandro Celaya Alastrué",
            "homepage": "https://www.alejandrocelaya.com",
            "email": "alejandro@alejandrocelaya.com"
        }
    ],
    "require": {
        "php": "^8.4",
        "laminas/laminas-servicemanager": "^4.5 || ^3.24",
        "laminas/laminas-stdlib": "^3.21"
    },
    "require-dev": {
        "cuyz/valinor": "^2.3.1",
        "devster/ubench": "^2.1",
        "phpstan/phpstan": "^2.1",
        "phpstan/phpstan-phpunit": "^2.0",
        "phpunit/phpunit": "^13.0",
        "psr/simple-cache": "^2.0",
        "roave/security-advisories": "dev-master",
        "shlinkio/php-coding-standard": "~2.5.0",
        "symfony/var-dumper": "^8.0"
    },
    "autoload": {
        "psr-4": {
            "Shlinkio\\Shlink\\Config\\": "src"
        },
        "files": [
            "functions/functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "ShlinkioTest\\Shlink\\Config\\": "test"
        }
    },
    "scripts": {
        "ci": [
            "@cs",
            "@stan",
            "@test:ci"
        ],
        "cs": "phpcs",
        "cs:fix": "phpcbf",
        "stan": "phpstan analyse",
        "test": "phpunit --order-by=random --testdox --testdox-summary",
        "test:ci": "XDEBUG_MODE=coverage composer test -- --coverage-clover=build/clover.xml --coverage-xml=build/coverage-xml",
        "test:pretty": "XDEBUG_MODE=coverage composer test -- --coverage-html=build/coverage-html"
    },
    "scripts-descriptions": {
        "ci": "<fg=blue;options=bold>Alias for \"cs\", \"stan\" and \"test:ci\"</>",
        "cs": "<fg=blue;options=bold>Checks coding styles</>",
        "cs:fix": "<fg=blue;options=bold>Fixes coding styles, when possible</>",
        "stan": "<fg=blue;options=bold>Inspects code with phpstan</>",
        "test": "<fg=blue;options=bold>Runs unit tests with no coverage reports</>",
        "test:ci": "<fg=blue;options=bold>Runs unit tests generating coverage reports and logs</>",
        "test:pretty": "<fg=blue;options=bold>Runs unit tests generating coverage reports in html</>"
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true
        }
    }
}
