Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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