templates/composer.mustache
{
{{#composerPackageName}}
"name": "{{.}}",
{{/composerPackageName}}
{{#artifactVersion}}
"version": "{{.}}",
{{/artifactVersion}}
"description": "{{{appDescription}}}",
"keywords": ["openapitools", "openapi-generator", "openapi", "php", "sdk", "rest", "api", "ebay"],
"homepage": "https://github.com/{{gitUserId}}/{{gitRepoId}}",
"license": "MIT",
"authors": [
{
"name": "OpenAPI-Generator contributors",
"homepage": "https://openapi-generator.tech"
},
{
"name": "Brandon Clothier",
"email": "brclothier@trollandtoad.com"
}
],
"require": {
"php": "^7.2 || ^8.0",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"guzzlehttp/guzzle": "^6.5.8 || ^7.4.5",
"guzzlehttp/psr7": "^1.7 || ^2.0"
},{{#includeTests}}
"require-dev": {
"phpunit/phpunit": "^8.5.23 || ^9.0",
"friendsofphp/php-cs-fixer": "^2.12"
},{{/includeTests}}
"autoload": {
"psr-4": {
"{{escapedInvokerPackage}}\\" : "{{srcBasePath}}/"
}
}{{#includeTests}},
"autoload-dev": {
"psr-4": {
"{{escapedInvokerPackage}}\\Test\\" : "{{testBasePath}}/"
}
}{{/includeTests}}
}