Skip to content

Commit

Permalink
Merge pull request #28 from boboudreau/feature-media-upload
Browse files Browse the repository at this point in the history
Adding an "upload" method to the Media endpoint
  • Loading branch information
boboudreau authored Jun 16, 2020
2 parents 504fc29 + a9ef530 commit 802d7d5
Show file tree
Hide file tree
Showing 7 changed files with 800 additions and 196 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
language: php

php:
- 5.6
- 7
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4

before_script:
- composer install --prefer-dist --dev
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"name": "vnn/wordpress-rest-api-client",
"config": {
"platform": {
"php": "7.0.33"
}
},
"autoload": {
"psr-4": {
"Vnn\\WpApiClient\\": "src/"
}
},
"require": {
"php": ">= 5.6, <= 8.0",
"php": "^7.0",
"psr/http-message": "^1.0"
},
"require-dev": {
Expand Down
Loading

0 comments on commit 802d7d5

Please sign in to comment.