designcise/bitframe-fastroute

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "designcise/bitframe-fastroute",
    "type": "library",
    "description": "FastRoute router middleware for BitFrame microframework",
    "license": "MIT",
    "authors": [
        {
            "name": "Daniyal Hamid",
            "homepage": "https://www.designcise.com/"
        }
    ],
    "require": {
        "php": ">=8.2",
        "psr/http-message": "^2.0",
        "psr/http-server-middleware": "^1.0",
        "designcise/bitframe": "^4.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^9.5",
        "phpspec/prophecy-phpunit": "^v2.0",
        "phpspec/prophecy": "^1.13",
        "squizlabs/php_codesniffer": "3.*",
        "phpmd/phpmd": "@stable",
        "phpstan/phpstan": "*"
    },
    "autoload": {
        "psr-4": {
            "BitFrame\\FastRoute\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "BitFrame\\FastRoute\\Test\\": "test/"
        }
    },
    "config": {
        "sort-packages": true
    },
    "scripts": {
        "style": "vendor/bin/phpcs --standard=PSR12 src",
        "style-fix": "vendor/bin/phpcbf --standard=PSR12 src",
        "check": "vendor/bin/phpstan analyse src --level=5 -c phpstan.neon",
        "md": "vendor/bin/phpmd src text cleancode,unusedcode,codesize,design,naming",
        "test": "vendor/bin/phpunit --configuration phpunit.xml --testsuite bitframe_fastroute",
        "test-report": "vendor/bin/phpunit --configuration phpunit.xml --testsuite bitframe_fastroute --coverage-clover=coverage.xml"
    }
}