Skip to content

Instantly share code, notes, and snippets.

@ataylorme
Created February 3, 2017 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ataylorme/d1dac2a4d25c2486458fe84a56aa0aa5 to your computer and use it in GitHub Desktop.
Save ataylorme/d1dac2a4d25c2486458fe84a56aa0aa5 to your computer and use it in GitHub Desktop.
{
"name": "WordPress-Composer-Example",
"description": "",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "package",
"package": {
"name": "pantheon-systems/wordpress",
"version": "4.7.2",
"dist": {
"url": "https://github.com/pantheon-systems/WordPress/archive/4.7.2.zip",
"type": "zip"
},
"source": {
"url": "git@github.com:pantheon-systems/WordPress.git",
"type": "git",
"reference": "4.7.2"
},
"type": "wordpress-core",
"require": {
"johnpbloch/wordpress-core-installer": "~0.1"
},
"extra": {
"wordpress-install-dir": "web/wp"
}
}
}
],
"require": {
"composer/installers": "~1.0",
"pantheon-systems/wordpress": "^4.7.2",
"wpackagist-theme/twentyseventeen": "^1.1",
"wpackagist-plugin/wp-cfm": "^1.4.5"
},
"config": {
"vendor-dir": "vendor",
"preferred-install": "dist",
"secure-http": false
},
"extra": {
"installer-paths": {
"web/wp-content/plugins/{$name}/": [
"type:wordpress-plugin"
],
"web/wp-content/themes/{$name}/": [
"type:wordpress-theme"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment