Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Package should require composer/installers
From Composer's documentation (https://getcomposer.org/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md#how-do-i-install-a-package-to-a-custom-path-for-my-framework-):

> If you are a package author and want your package installed to a custom directory, simply require `composer/installers` and set the appropriate `type`.
  • Loading branch information
zoliszabo committed Oct 15, 2018
commit 759d79977b13a3356d7cfe851ed33106f897bba6
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name" : "wp-api/basic-auth",
"description" : "Basic Authentication handler for the JSON API, used for development and debugging purposes",
"type" : "wordpress-plugin"
"type" : "wordpress-plugin",
"require": {
"composer/installers": "~1.0"
}
}