Created
October 9, 2015 17:14
-
-
Save pelmered/31bbb4232d1d6f640dcb to your computer and use it in GitHub Desktop.
Example composer.json for WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repositories": [ | |
{ | |
"type": "composer", | |
"url": "http://wpackagist.org" | |
}, | |
{ | |
"type": "package", | |
"package": { | |
"name": "advanced-custom-fields/advanced-custom-fields-pro", | |
"version": "5.2.6", | |
"type": "wordpress-plugin", | |
"dist": { | |
"type": "zip", | |
"url": "http://connect.advancedcustomfields.com/index.php?p=pro&a=download&k=<your ACF key>" | |
} | |
} | |
}, { | |
"type": "vcs", | |
"url": "https://github.com/pelmered/post-types-creator" | |
}, | |
], | |
"require": { | |
"php": ">=5.4", | |
"johnpbloch/wordpress": "*", | |
"wpackagist-plugin/duplicate-post": "*", | |
"wpackagist-plugin/enable-media-replace": "*", | |
"wpackagist-plugin/wordpress-seo": "*", | |
"wpackagist-plugin/angry-creative-logger": "*", | |
"wpackagist-plugin/ewww-image-optimizer": "*", | |
"wpackagist-plugin/ricg-responsive-images": "*", | |
"wpackagist-plugin/black-studio-tinymce-widget": "*", | |
"advanced-custom-fields/advanced-custom-fields-pro": "*", | |
"pelmered/post-types-creator": "dev-master", | |
"rarst/fragment-cache": "^1.2", | |
"rarst/update-blocker": "^1.0" | |
}, | |
"require-dev": { | |
"wpackagist-plugin/debug-bar": "*", | |
"wpackagist-plugin/debug-bar-transients": "*", | |
"wpackagist-plugin/force-regenerate-thumbnails": "*" | |
}, | |
"extra": { | |
"wordpress-install-dir": "wordpress", | |
"installer-paths": { | |
"public/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin", "rarst/update-blocker", "angrycreative/ac-disable-wp-updates"], | |
"public/wp-content/plugins/{$name}/": ["type:wordpress-plugin"], | |
"public/wp-content/themes/{$name}/": ["type:wordpress-theme"] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment