Skip to content

Instantly share code, notes, and snippets.

@ataylorme
Last active August 5, 2016 13:26
Show Gist options
  • Save ataylorme/f6f2114465bf67b4f1fd to your computer and use it in GitHub Desktop.
Save ataylorme/f6f2114465bf67b4f1fd to your computer and use it in GitHub Desktop.
Composer file for WordPress
{
"name" : "WordPress-Composer",
"description" : "Example managing WordPress with Composer",
"version" : "0.1.0",
"type" : "project",
"keywords" : [],
"minimum-stability" : "dev",
"repositories" : [
{
"type" : "composer",
"url" : "http://wpackagist.org"
}
],
"require" : {
"johnpbloch/wordpress" : "4.5.3",
"wpackagist-theme/twentysixteen" :"*",
"composer/installers" : "~1.0"
},
"config": {
"vendor-dir": "vendor"
},
"extra" : {
"wordpress-install-dir" : "wp/",
"installer-paths" : {
"wp-content/plugins/{$name}/" : ["type:wordpress-plugin"],
"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