Skip to content

Instantly share code, notes, and snippets.

@matgargano
Last active September 27, 2015 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 matgargano/b0c792d09d2f24da873e to your computer and use it in GitHub Desktop.
Save matgargano/b0c792d09d2f24da873e to your computer and use it in GitHub Desktop.
Basic WordPress Composer.json
web/wp/
web/app/plugins
web/app/mu-plugins/
web/uploads/
{
"name": "statenweb/statenweb",
"description": "wordpress setup for our staten island web design project",
"license": "proprietary",
"repositories": [
{
"type": "composer",
"url": "http://wpackagist.org"
}
],
"require": {
"johnpbloch/wordpress": "4.3.1",
"jublonet/codebird-php": "~2.7",
"wpackagist-plugin/wp-original-media-path": "~1.4",
"wpackagist-plugin/wordfence": "~6.0",
"mnsami/composer-custom-directory-installer": "1.0.*",
"vlucas/phpdotenv": "~2.0"
},
"extra": {
"wordpress-install-dir": "./web/wp",
"installer-paths": {
"./web/app/plugins/{$name}/": [
"type:wordpress-plugin"
],
"./phpdotenv/": ["vlucas/phpdotenv"]
}
},
"config": {
"vendor-dir": "./web/app/mu-plugins"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment