Files
openapi-generator/samples/server/petstore/php-slim4/composer.json
Yuriy Belenko 186842ea19 [php-slim4] Bump required PHP version to 7.4 (#11039)
* Change minimum PHP version to 7.4

* Refresh samples
2021-12-05 15:47:12 +08:00

42 lines
955 B
JSON

{
"minimum-stability": "RC",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/ybelenko/slim-token-authentication",
"no-api": true
}
],
"require": {
"php": "^7.4 || ^8.0",
"slim/slim": "^4.5.0",
"dyorg/slim-token-authentication": "dev-slim4",
"ybelenko/openapi-data-mocker": "^1.0",
"ybelenko/openapi-data-mocker-server-middleware": "^1.0",
"slim/psr7": "^1.1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.0 || ^9.0",
"overtrue/phplint": "^2.0.2",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": { "OpenAPIServer\\": [
"lib/",
"src/"
]}
},
"autoload-dev": {
"psr-4": { "OpenAPIServer\\": "tests/" }
},
"scripts": {
"test": [
"phpunit"
],
"test-apis": "phpunit --testsuite Apis",
"test-models": "phpunit --testsuite Models",
"phpcs": "phpcs",
"phplint": "phplint ./ --exclude=vendor"
}
}