From 26918f64b89aa13f84467d8f9f5c7d3532964bd1 Mon Sep 17 00:00:00 2001 From: Scott Robertson Date: Tue, 24 Nov 2015 10:42:04 -0800 Subject: [PATCH] update composer json, license, readme --- .gitignore | 1 + LICENSE | 19 +++++++++++++++++++ README.md | 12 ++++++------ composer.json | 8 +------- composer.lock | 9 +++------ 5 files changed, 30 insertions(+), 19 deletions(-) create mode 100644 LICENSE diff --git a/.gitignore b/.gitignore index 22d0d82..85d346a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ vendor +.DS_Store diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5a2451b --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) 2015 VHX, Inc. (https://vhx.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index b1c15c5..44cfb7a 100755 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # VHX PHP API Client (BETA) -You can sign up for a VHX account at https://vhx.tv. +The VHX API is currently Private Beta. You can request an API key by emailing api@vhx.tv. ### Installation Requires PHP 5.3.3 and later. -**Composer** + -You can also download the [latest release](https://github.com/vhx/vhx-php/releases). Then simply include the `init.php` file. + + +Download the [latest release](https://github.com/vhx/vhx-php/releases). Then simply include the `init.php` file. ```php require_once('/path/to/vhx-php/init.php'); diff --git a/composer.json b/composer.json index d11d1b0..4131f30 100755 --- a/composer.json +++ b/composer.json @@ -14,14 +14,8 @@ "Kevin Sheurs " ], "require": { - "php": ">=5.3.3", - "ext-curl": "*", - "ext-json": "*", - "ext-mbstring": "*" + "php": ">=5.3.3" }, "require-dev": {}, - "autoload": { - "psr-4": { "VHX\\" : "lib/" } - }, "license": "MIT" } diff --git a/composer.lock b/composer.lock index 5982b2e..30ae5d5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "7d23b945f18de458723930e833e724fe", - "content-hash": "bc127389845a4d1d80002966c1d40cb0", + "hash": "ec4b4933abdf38150d114a27c54b920e", + "content-hash": "40900f18d4de568ec4d2f92e9c4d437b", "packages": [], "packages-dev": [], "aliases": [], @@ -14,10 +14,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">=5.3.3", - "ext-curl": "*", - "ext-json": "*", - "ext-mbstring": "*" + "php": ">=5.3.3" }, "platform-dev": [] }