Created
January 24, 2017 01:13
-
-
Save fastzen/52423dd6096662bac59a7fffb2222e45 to your computer and use it in GitHub Desktop.
Example for adding composer to 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
{ "name": "fastzen/wpdemo", "description": "Getting started with WordPress and Composer", "license": "MIT", "repositories": [ { "type":"composer", "url":"https://wpackagist.org" } ], "require": { "composer/installers": "~1.0", "mohiohio/graphql-wp": "~0.3.1" }, "extra": { "installer-paths": { "wp-content/plugins/{$name}": ["type:wordpress-plugin"], "wp-content/themes/{$name}": ["type:wordpress-theme"], "wp-content/mu-plugins/{$name}": ["type:wordpress-muplugin"] } }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment