Created
November 15, 2016 10:55
-
-
Save neutraltone/8da08fe416f7c4bbb2d47980f1ecd281 to your computer and use it in GitHub Desktop.
A starter composer file for managing wordpress with composer.
This file contains hidden or 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": "https://wpackagist.org" | |
}, | |
{ | |
"type": "package", | |
"package": { | |
"name": "advanced-custom-fields/advanced-custom-fields-pro", | |
"version": "5.3.3", | |
"type": "wordpress-plugin", | |
"dist": { | |
"type": "zip", | |
"url": "https://connect.advancedcustomfields.com/index.php?t=5.3.3&p=pro&a=download&k=YOUR_PURCHASE_KEY_HERE" | |
} | |
} | |
} | |
], | |
"require": { | |
"composer/installers" : "~1.0", | |
"johnpbloch/wordpress": "*", | |
"php": ">=5.3.0", | |
"wpackagist-plugin/timber-library": "*", | |
"advanced-custom-fields/advanced-custom-fields-pro": "*" | |
}, | |
"extra": { | |
"wordpress-install-dir": "wp", | |
"installer-paths" : { | |
"wp-content/mu-plugins/{$name}/": ["type:wordpress-plugin"] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment