psr-15/composer.json

99 lines
4.4 KiB
JSON

{
"name": "opencultureconsulting/psr15",
"description": "This is a queue-based implementation of PSR-15: HTTP Server Request Handler.",
"type": "library",
"keywords": [
"psr-15",
"http",
"request",
"handler",
"middleware",
"queue",
"http-server-handler",
"http-server-middleware"
],
"homepage": "https://github.com/opencultureconsulting/psr-15",
"readme": "README.md",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Sebastian Meyer",
"email": "sebastian.meyer@opencultureconsulting.com",
"homepage": "https://www.opencultureconsulting.com",
"role": "maintainer"
}
],
"support": {
"issues": "https://github.com/opencultureconsulting/psr-15/issues",
"source": "https://github.com/opencultureconsulting/psr-15",
"docs": "https://opencultureconsulting.github.io/psr-15/"
},
"require": {
"php": "^8.1",
"guzzlehttp/psr7": "^2.7",
"opencultureconsulting/basics": "^2.1",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"phpdocumentor/shim": "^3.5",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-strict-rules": "^1.6",
"friendsofphp/php-cs-fixer": "^3.64",
"squizlabs/php_codesniffer": "^3.10",
"vimeo/psalm": "^5.25"
},
"provide": {
"psr/http-server-handler-implementation": "1.0",
"psr/http-server-middleware-implementation": "1.0"
},
"autoload": {
"psr-4": {
"OCC\\PSR15\\": "src/"
}
},
"config": {
"allow-plugins": {
"phpdocumentor/shim": true
}
},
"scripts": {
"php-cs-fixer:check": [
"@php vendor/bin/php-cs-fixer check"
],
"php-cs-fixer:fix": [
"@php vendor/bin/php-cs-fixer fix"
],
"phpcs:check": [
"@php vendor/bin/phpcs"
],
"phpdoc:build": [
"@php vendor/bin/phpdoc"
],
"phpmd:check": [
"@php -r \"if (!file_exists('./.phpmd.xml')) { copy('./.phpmd.dist.xml', './.phpmd.xml'); }\"",
"@php vendor/bin/phpmd src/ ansi .phpmd.xml --cache --ignore-violations-on-exit"
],
"phpstan:check": [
"@php vendor/bin/phpstan"
],
"psalm:check": [
"@php vendor/bin/psalm"
],
"psalm:check-security": [
"@php vendor/bin/psalm --taint-analysis"
]
},
"scripts-descriptions": {
"php-cs-fixer:check": "Runs a code check with PHP Coding Standards Fixer and reports problems. If a custom configuration file '.php-cs-fixer.php' exists, it will be used instead of the default settings in '.php-cs-fixer.dist.php'.",
"php-cs-fixer:fix": "Runs a code check with PHP Coding Standards Fixer and tries to fix all issues. If a custom configuration file '.php-cs-fixer.php' exists, it will be used instead of the default settings in '.php-cs-fixer.dist.php'.",
"phpcs:check": "Runs a code check with PHP_CodeSniffer and reports problems. If a custom configuration file '.phpcs.xml' exists, it will be used instead of the default settings in '.phpcs.xml.dist'.",
"phpdoc:build": "Builds the documentation from source files in ./src and additional templates in .phpdoc/. If a custom configuration file 'phpdoc.xml' exists, it will be used instead of the default settings in 'phpdoc.dist.xml'.",
"phpmd:check": "Runs a code check with PHP Mess Detector static code analyzer and reports problems. If a custom configuration file '.phpmd.xml' exists, it will be used instead of the default settings in '.phpmd.dist.xml'.",
"phpstan:check": "Runs a code check with PHPStan static code analyzer and reports problems. If a custom configuration file 'phpstan.neon' exists, it will be used instead of the default settings in 'phpstan.dist.neon'.",
"psalm:check": "Runs a code check with Psalm static code analyzer and reports problems. If a custom configuration file 'psalm.xml' exists, it will be used instead of the default settings in 'psalm.xml.dist'.",
"psalm:check-security": "Runs a code check with Psalm static code analyzer and reports security issues. If a custom configuration file 'psalm.xml' exists, it will be used instead of the default settings in 'psalm.xml.dist'."
}
}