Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

Add composer template #15

Merged
merged 12 commits into from
Nov 7, 2017
57 changes: 57 additions & 0 deletions template/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"name": "zendframework/<package_name>",
"description": "<package_description, the same like the repository description>",
"homepage": "https://docs.zendframework.com/<package_name>/",
"license": "BSD-3-Clause",
"keywords": [
"zend",
"zendframework",
"<package_name>",
"<individual keywords for current package>"
],
"support": {
"docs": "https://docs.zendframework.com/<package_name>/",
"issues": "https://github.com/zendframework/<package_name>/issues",
"source": "https://github.com/zendframework/<package_name>",
"rss": "https://github.com/zendframework/<package_name>/releases.atom",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it funny that we use an Atom feed for the RSS item. 😄 That said, it's the only appropriate location.

"slack": "https://zendframework-slack.herokuapp.com",
"forum": "https://discourse.zendframework.com/c/questions/<components|expressive|apigility>"
},
"require": {
"php": "^7.1"
},
"require-dev": {
"phpunit/phpunit": "^6.3",
"zendframework/zend-coding-standard": "~1.0.0"
},
"autoload": {
"psr-4": {
"Zend\\<package_name>\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ZendTest\\<package_name>\\": "test/"
}
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev",
"dev-develop": "1.1-dev"
}
},
"scripts": {
"check": [
"@cs-check",
"@test"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"upload-coverage": "coveralls -v"
}
}