Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Last active December 31, 2018 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shelob9/7f966fa7312147531727 to your computer and use it in GitHub Desktop.
Save Shelob9/7f966fa7312147531727 to your computer and use it in GitHub Desktop.
Example Composer file for a WordPress plugin.
{
"name" : "vendor/plugin-name",
"description" : "Automatic front-end output of Pods Templates.",
"type" : "wordpress-plugin",
"keywords" : [ "wordpress" ],
"license" : "GPL-2.0+",
"authors" : [
{
"name" : "Developer Name",
"email" : "email@somewhere.com",
"role" : "Lead Developer"
},
{
"name" : "Developer Name",
"email" : "email@somewhere.com",
"role" : "Developer"
},
],
"require" : {
"composer/installers" : "~1.0.0",
"php" : ">=5.2.4",
"twbs/bootstrap" : "3.2"
},
"extra" : {
"installer-name" : "plugin-name"
},
"homepage" : "http://plugin-name.com",
"support": {
"issues": "https://github.com/vendor/plugin-name/issues",
"source": "https://github.com/vendor/plugin-name/pods-frontier-auto-template"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment