Skip to content

Instantly share code, notes, and snippets.

@balintsera
Created November 11, 2015 17:29
Show Gist options
  • Save balintsera/e51c35f3269d7b7ab3ad to your computer and use it in GitHub Desktop.
Save balintsera/e51c35f3269d7b7ab3ad to your computer and use it in GitHub Desktop.
A starter Composer package description file example
{
"name": "evista/localpackage",
"description": "A local package for testing",
"keywords": [
"test"
],
"homepage": "https://github.com/serabalint/formista",
"license": "MIT",
"authors": [
{
"name": "Balint Sera",
"email": "[email protected]",
"homepage": "http://evista-agency.com",
"role": "Developer"
}
],
"require": {
"php" : ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit" : "4.*",
"scrutinizer/ocular": "~1.1"
},
"autoload": {
"psr-4": {
"Evista\\Localpackage\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Evista\\Localpackage\\Test\\": "tests"
}
},
"scripts": {
"test": "phpunit"
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment