Skip to content

Instantly share code, notes, and snippets.

@ElliottLandsborough
Created March 8, 2019 09:55
Show Gist options
  • Select an option

  • Save ElliottLandsborough/39ef727e9c1335c4aa204879265f8db5 to your computer and use it in GitHub Desktop.

Select an option

Save ElliottLandsborough/39ef727e9c1335c4aa204879265f8db5 to your computer and use it in GitHub Desktop.
Wordpress composer example
{
"name": "ElliottLandsborough/project-name",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php": ">=5.6",
"vlucas/phpdotenv": "^2.2",
"johnpbloch/wordpress": ">=4.9",
"interconnectit/search-replace-db": "^3.1",
"wpackagist-plugin/classic-editor": "*",
"wpackagist-plugin/post-types-order": "*",
"wpackagist-plugin/responsive-lightbox-lite": "*",
"wpackagist-plugin/shiftnav-responsive-mobile-menu": "*",
"wpackagist-plugin/simple-301-redirects": "*",
"wpackagist-plugin/types": "*",
"wpackagist-plugin/woosidebars": "*",
"wpackagist-plugin/uk-cookie-consent": "*",
"wpackagist-plugin/regenerate-thumbnails": "*",
"wpackagist-plugin/wp-pop-up": "*",
"wpackagist-plugin/w3-total-cache": "*"
},
"extra": {
"wordpress-install-dir": "cms",
"installer-paths": {
"content/plugins/{$name}/": [
"type:wordpress-plugin"
]
}
},
"authors": [
{
"name": "Elliott Landsborough",
"email": "[email protected]"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment