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
}
],
"description": "{{description}}",
"keywords": [
"openapi",
"php",
"api"
],
"homepage": "{{{artifactUrl}}}",
"license": "{{{licenseName}}}",
"authors": [
{
"name": "{{{developerOrganization}}}",
"homepage": "{{{developerOrganizationUrl}}}"
}
],
"require": {
"php": "^7.4 || ^8.0",
"dyorg/slim-token-authentication": "dev-slim4",
{{#isGuzzlePsr7}}
"guzzlehttp/psr7": "^1.6.1",
"http-interop/http-factory-guzzle": "^1.0.0",
{{/isGuzzlePsr7}}
{{#isZendDiactoros}}
"laminas/laminas-diactoros": "^2.3.0",
{{/isZendDiactoros}}
"monolog/monolog": "^2.4",
"neomerx/cors-psr7": "^2.0",
{{#isNyholmPsr7}}
"nyholm/psr7": "^1.3.0",
"nyholm/psr7-server": "^0.4.1",
{{/isNyholmPsr7}}
"php-di/slim-bridge": "^3.2",
{{#isSlimPsr7}}
"slim/psr7": "^1.1.0",
{{/isSlimPsr7}}
"ybelenko/openapi-data-mocker": "^1.0",
"ybelenko/openapi-data-mocker-server-middleware": "^1.2"
},
"require-dev": {
"overtrue/phplint": "^2.0.2",
{{#generateTests}}
"phpunit/phpunit": "^8.0 || ^9.0",
{{/generateTests}}
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": { "{{escapedInvokerPackage}}\\": [
"{{srcBasePath}}/",
"src/"
]}
},
"autoload-dev": {
"psr-4": { "{{escapedInvokerPackage}}\\": "{{testBasePath}}/" }
},
"scripts": {
{{#generateTests}}
"test": [
"phpunit"
],
{{#generateApiTests}}
"test-apis": "phpunit --testsuite Apis",
{{/generateApiTests}}
{{#generateModelTests}}
"test-models": "phpunit --testsuite Models",
{{/generateModelTests}}
{{/generateTests}}
"phpcs": "phpcs",
"phplint": "phplint ./ --exclude=vendor"
},
"config": {
"sort-packages": true
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy