php-lumen.composer.mustache Maven / Gradle / Ivy
{
"name": "{{gitUserId}}/{{gitRepoId}}",
{{#artifactVersion}}
"version": "{{.}}",
{{/artifactVersion}}
"description": "{{description}}",
"keywords": [
"framework",
"laravel",
"lumen",
"openapi",
"openapitools",
"php",
"sdk",
"api"
],
"homepage": "{{{artifactUrl}}}",
"license": "{{{licenseName}}}",
"authors": [
{
"name": "{{{developerOrganization}}}",
"homepage": "{{{developerOrganizationUrl}}}"
}
],
"type": "project",
"require": {
"php": "^7.2.5",
"laravel/lumen-framework": "^7.2"
},
"require-dev": {
"fzaninotto/faker": "^1.9",
"mockery/mockery": "^1.3",
"phpunit/phpunit": "^8.0 || ^9.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
]
}
}