Skip to content

Commit

Permalink
Fix composer not installing correctly (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksindi authored Nov 6, 2019
1 parent 6b8c683 commit 2d81098
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ WORKDIR ${dir}

USER app

RUN composer require jwplayer/jwplatform:*
RUN composer require jwplayer/jwplatform

CMD [ "php", "examples/upload_video.php" ]
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "jwplayer/jwplatform",
"type": "library",
"description": "Official JW Player PHP API Adapter",
"version": "v1.6.2",
"keywords": [
"jwplayer",
"jwplatform",
Expand All @@ -11,7 +12,6 @@
"minimum-stability": "dev",
"prefer-stable": true,
"homepage": "https://developer.jwplayer.com/jw-platform/",
"version": "v1.6.1",
"license": "MIT",
"authors": [
{
Expand All @@ -23,9 +23,12 @@
"php": ">=5.6.0",
"ext-curl": "*"
},
"config": {
"optimize-autoloader": true
},
"autoload": {
"psr-4": {
"Jwplayer\\": "src"
"Jwplayer\\": "src/"
}
}
}
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Jwplayer;

class JwplatformAPI {
private $_version = '1.6.1';
private $_version = '1.6.2';
private $_url = 'https://api.jwplatform.com/v1';
private $_library;

Expand Down

0 comments on commit 2d81098

Please sign in to comment.