php-slim4-server.composer.mustache Maven / Gradle / Ivy
{
"minimum-stability": "RC",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/ybelenko/slim-token-authentication",
"no-api": true
}
],
"require": {
"php": "^7.2",
"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",
{{#isSlimPsr7}}
"slim/psr7": "^1.1.0"
{{/isSlimPsr7}}
{{#isNyholmPsr7}}
"nyholm/psr7": "^1.3.0",
"nyholm/psr7-server": "^0.4.1"
{{/isNyholmPsr7}}
{{#isGuzzlePsr7}}
"guzzlehttp/psr7": "^1.6.1",
"http-interop/http-factory-guzzle": "^1.0.0"
{{/isGuzzlePsr7}}
{{#isZendDiactoros}}
"laminas/laminas-diactoros": "^2.3.0"
{{/isZendDiactoros}}
},
"require-dev": {
"phpunit/phpunit": "^8.0 || ^9.0",
"overtrue/phplint": "^2.0.2",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": { "{{escapedInvokerPackage}}\\": [
"{{srcBasePath}}/",
"src/"
]}
},
"autoload-dev": {
"psr-4": { "{{escapedInvokerPackage}}\\": "{{testBasePath}}/" }
},
"scripts": {
"test": [
"phpunit"
],
"test-apis": "phpunit --testsuite Apis",
"test-models": "phpunit --testsuite Models",
"phpcs": "phpcs",
"phplint": "phplint ./ --exclude=vendor"
}
}