Files
openapi-generator/samples/server/petstore/php-slim4/composer.json
Yuriy Belenko 9f92322b90 [php-slim4] Bump required PHP version to 7.3 (#10228)
* Change minimum PHP version to 7.3

* Refresh samples

* Remove PHP8 notice from readme

Signed-off-by: Yuriy Belenko <yura-bely@mail.ru>
2021-10-17 18:19:14 +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.3 || ^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"
}
}