Skip to content

Instantly share code, notes, and snippets.

@onnimonni
Last active April 22, 2017 11:17
Show Gist options
  • Save onnimonni/0ed9c722c46dd262f0d747332a7a8564 to your computer and use it in GitHub Desktop.
Save onnimonni/0ed9c722c46dd262f0d747332a7a8564 to your computer and use it in GitHub Desktop.
wchel2017 example composer
{
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "composer",
"url": "https://wp-languages.github.io"
}
],
"require": {
"php": ">=7.0",
"composer/installers": "v1.0.12",
"vlucas/phpdotenv": "^2.0.1",
"oscarotero/env": "^1.0",
"johnpbloch/wordpress": ">=4.5.0"
},
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin","rarst/wps"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}": ["type:wordpress-theme"]
},
"dropin-paths": {
"web/app/": ["type:wordpress-dropin"],
"web/app/languages/": ["vendor:koodimonni-language"],
"web/app/languages/plugins/": ["vendor:koodimonni-plugin-language"],
"web/app/languages/themes/": ["vendor:koodimonni-theme-language"]
},
"wordpress-install-dir": "web/wp"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment