php-symfony.composer.mustache Maven / Gradle / Ivy
{
{{#composerPackageName}}
"name": "{{{.}}}",
{{/composerPackageName}}
{{^composerPackageName}}
"name": "{{gitUserId}}/{{gitRepoId}}",
{{/composerPackageName}}
{{#artifactVersion}}
"version": "{{.}}",
{{/artifactVersion}}
"description": "{{description}}",
"keywords": [
"openapi",
"php",
"sdk",
"api"
],
"homepage": "{{{artifactUrl}}}",
"license": "{{{licenseName}}}",
"authors": [
{
"name": "{{{developerOrganization}}}",
"homepage": "{{{developerOrganizationUrl}}}"
}
],
"require": {
"php": ">=8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"doctrine/annotations": "^2.0",
"symfony/validator": "^6.4|^7.0",
"jms/serializer-bundle": "^5.4",
"symfony/framework-bundle": "^6.4|^7.0"
},
"require-dev": {
"phpunit/phpunit": "^10.5|^11.0",
"friendsofphp/php-cs-fixer": "*",
"symfony/browser-kit": "^6.4|7.0",
"symfony/yaml": "^6.4|^7.0",
"hoa/regex": "~1.0"
},
"autoload": {
"psr-4": {
"{{escapedInvokerPackage}}\\" : "{{relativeSrcBasePath}}"
}
}
}