Skip to content

Instantly share code, notes, and snippets.

@spoonerWeb
Created October 9, 2019 17:50
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 spoonerWeb/41f4308196aced685c913247e09b994e to your computer and use it in GitHub Desktop.
Save spoonerWeb/41f4308196aced685c913247e09b994e to your computer and use it in GitHub Desktop.
WordPress composer.json
{
"name": "spooner/wordpress",
"type": "project",
"config": {
"vendor-dir": "content/vendor"
},
"extra": {
"wordpress-install-dir": "wp",
"installer-paths": {
"content/plugins/{$name}/": [
"type:wordpress-plugin"
],
"content/themes/{$name}/": [
"type:wordpress-theme"
]
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"johnpbloch/wordpress": ">=5.1",
"wpackagist-plugin/wp-super-cache": "^1.7",
"wpackagist-plugin/akismet": "^4.1",
"wp-cli/wp-cli": "^2.3",
"wp-cli/wp-cli-bundle": "^2.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment