Skip to content

Instantly share code, notes, and snippets.

@brettmax
Created March 31, 2015 08:15
Show Gist options
  • Save brettmax/3d5c5a9bdb262a81ef91 to your computer and use it in GitHub Desktop.
Save brettmax/3d5c5a9bdb262a81ef91 to your computer and use it in GitHub Desktop.
Nested custom plugin composer.json file which includes redux as a dependency
{
"name": "brettlefty/additional-options",
"description": "Adds additional custom dashboard configuration options",
"type": "wordpress-plugin",
"keywords": ["wordpress", "redux", "additional", "options", "configuration", "settings"],
"license": "GPL",
"require": {
"composer/installers": "1.0.*@dev",
"redux-framework/redux-framework": "dev-master"
},
"extra": {
"installer-paths": {
"vendor/{$vendor}/{$name}/": ["type:wordpress-plugin"]
}
},
"autoload": {
"psr-4": {
"BrettLefty\\AdditionalOptions\\": "src/"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment