expatbase/var/www/html/flarum/vendor/middlewares/base-path/composer.json
2025-08-29 00:22:05 +09:00

48 lines
No EOL
1.3 KiB
JSON
Executable file

{
"name": "middlewares/base-path",
"type": "library",
"description": "Middleware to remove the prefix from the uri path of the request.",
"license": "MIT",
"keywords": [
"psr-7",
"psr-15",
"middleware",
"server",
"http"
],
"homepage": "https://github.com/middlewares/base-path",
"support": {
"issues": "https://github.com/middlewares/base-path/issues"
},
"require": {
"php": "^7.2 || ^8.0",
"psr/http-server-middleware": "^1"
},
"require-dev": {
"middlewares/utils": "^2 || ^3 || ^4",
"phpunit/phpunit": "^8 || ^9",
"friendsofphp/php-cs-fixer": "^3",
"squizlabs/php_codesniffer": "^3",
"oscarotero/php-cs-fixer-config": "^2",
"phpstan/phpstan": "^1 || ^2",
"laminas/laminas-diactoros": "^2 || ^3"
},
"autoload": {
"psr-4": {
"Middlewares\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Middlewares\\Tests\\": "tests/"
}
},
"scripts": {
"cs": "phpcs",
"cs-fix": "php-cs-fixer fix",
"phpstan": "phpstan analyse",
"test": "phpunit",
"coverage": "phpunit --coverage-text",
"coverage-html": "phpunit --coverage-html=coverage"
}
}