Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Composer support #51

Merged
merged 2 commits into from
Oct 8, 2016
Merged
Show file tree
Hide file tree
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
21 changes: 21 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name" : "georgestephanis/application-passwords",
"description": "Provide Application Passwords for WordPress core",
"homepage" : "https://github.com/georgestephanis/application-passwords",
"keywords" : ["wordpress", "application Ppasswords", "api"],
"type" : "wordpress-plugin",
"license" : "GPL-2.0+",
"authors" : [
{
"name" : "George Stephanis",
"email" : "georgestephanis@automattic.com",
"homepage": "http://Stephanis.info"
}
],
"support" : {
"issues": "https://github.com/georgestephanis/application-passwords/issues"
},
"require" : {
"composer/installers": "~1.0"
}
}
21 changes: 21 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,27 @@ With Application Passwords you are able to authenticate a user without providing
5. Click *Install Plugin*.
6. Activate.

### Installation with composer ###
Assuming that you already have a working composer setup, edit your composer.json and add the following:

```json
{
"repositories": [
...
{
"type": "vcs",
"url": "https://github.com/pelmered/application-passwords.git"
}
],
"require": {
...
"georgestephanis/application-passwords": "dev-master"
}
}
```

Then run `composer update georgestephanis/application-passwords` and then login into WP-Admin and activate the plugin.

## Screenshots ##

### In your user profile screen, by default it will just be a field to create a new Application Password.
Expand Down