Skip to content

Instantly share code, notes, and snippets.

@ryanwachtl
Last active December 14, 2015 06:49
Show Gist options
  • Save ryanwachtl/5045241 to your computer and use it in GitHub Desktop.
Save ryanwachtl/5045241 to your computer and use it in GitHub Desktop.
Boilerplate for a SilverStripe theme or module composer.json file.
{
"name": "{{ YOUR NAMESPACE }}/{{ PACKAGE NAME }}",
"type": "{{ silverstripe-module}} || {{ silverstripe-theme}}",
"description": "SilverStripe",
"keywords": ["silverstripe", "keyword"],
"license": "BSD-3-Clause",
"authors": [{
"name": "{{ AUTHOR NAME }}",
"homepage": "{{ AUTHOR WEBSITE }}"
}],
"require": {
"silverstripe/framework": ">=3.1.x-dev,<4.0"
},
"suggest": {
"rywa/silverstripe-foundation": "Tastes like chicken!"
},
"extra": {
"installer-name": "{{ INSTALL DIR NAME }}"
},
"support": {
"issues": "https://github.com/ryanwachtl/{{ REPO ISSUES PATH }}"
}
}
{
"name": "rywa/silverstripe-foundation",
"type": "silverstripe-theme",
"description": "SilverStripe prototyping theme based on Zurb Foundation",
"keywords": ["silverstripe", "foundation", "zurbfoundation", "prototyping", "theme"],
"license": "MIT Open Source License",
"authors": [{
"name": "Ryan Wachtl",
"homepage": "http://ryanwachtl.com"
}],
"require": {
"silverstripe/framework": ">=3.1.x-dev,<4.0"
},
"suggest": {
"rywa/silverstripe-foundation": "Tastes like chicken!"
},
"extra": {
"installer-name": "foundation"
},
"support": {
"issues": "https://github.com/ryanwachtl/silverstripe-foundation/issues"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment