Skip to content

Commit

Permalink
fix composer.json; update README files
Browse files Browse the repository at this point in the history
  • Loading branch information
edjames committed Dec 12, 2016
1 parent 665d8d9 commit 2375aba
Show file tree
Hide file tree
Showing 5 changed files with 1,393 additions and 58 deletions.
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,18 @@ vzaar's PHP client for interacting with version 2 of the [vzaar API](https://vza

## Requirements

PHP 5.6+
- Recommended: PHP 7.0+
- Minimum: PHP 5.6+

## Installation

Create file named composer.json in your project directory with the below content:
Install the package using `composer`:

```
{
"require-dev": {
"vzaar/vzaar-api-php": "2.0.*-dev"
}
}
```
Run the below command from your project directory level.
If Composer not installed, please follow the [instructions](https://getcomposer.org/doc/00-intro.md).

```
php composer.phar install
composer install
```

If `composer` is not installed, please follow [these instructions](https://getcomposer.org/doc/00-intro.md).

## Backwards compatability

Expand Down
65 changes: 35 additions & 30 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,39 @@
{
"name": "vzaar/vzaar-api-php",
"description": "The PHP client for Vzaar API.",
"type": "library",
"keywords": [ "vzaar", "video", "api" ],
"homepage": "https://github.com/vzaar/vzaar-api-php",
"license": "MIT",
"authors": [
{
"name": "Ed James",
"email": "ed@vzaar.com"
}
],
"support": {
"issues": "https://vzaar.com/help"
"name": "vzaar/vzaar-api-php",
"description": "The PHP client for Vzaar API.",
"type": "library",
"version": "2.0.0-alpha",
"keywords": [ "vzaar", "video", "api" ],
"homepage": "https://github.com/vzaar/vzaar-api-php",
"license": "MIT",
"authors": [
{
"name": "Jozef Chraplewski",
"email": "jozef@vzaar.com"
},
"require": {
"php": "^5.6 || ^7.0",
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "~5.6",
},
"autoload": {
"psr-4": {
"VzaarApi\\": "lib/vzaar/"
}
},
"extra": {
"branch-alias": {
"dev-version-2.0.0-alpha": "2.0.x-dev"
}
{
"name": "Ed James",
"email": "ed@vzaar.com"
}
],
"support": {
"issues": "https://vzaar.com/help"
},
"require": {
"php": "^5.6 || ^7.0",
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "~5.6"
},
"autoload": {
"psr-4": {
"VzaarApi\\": "lib/vzaar/"
}
},
"extra": {
"branch-alias": {
"dev-version-2.0.0-alpha": "2.0.x-dev"
}
}
}
Loading

0 comments on commit 2375aba

Please sign in to comment.