From 153e5821a493bd305b23bb49ef431ead97c189b1 Mon Sep 17 00:00:00 2001 From: jbogartPint Date: Wed, 8 Jun 2016 14:25:05 -0700 Subject: [PATCH] Updated readme and composer to include keywords and MIT license --- README.md | 12 ++++++++++-- composer.json | 6 +++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c0c1a19..17c612f 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,19 @@ The purpose of this wrapper is to enable PHP users to quickly and easily create ## Initial Setup +### Manual + 1. Download this repo by clicking on the green "Clone or download" button near the top of this page. 2. Click on "Download Zip" option to begin the download. 3. Copy file "zc.php" into your project's source directory. -4. Include the ZingChart library in your project `` -5. Include this wrapper in your project using the 'include' syntax. ie) `include zc.php` +4. Include the ZingChart library in your project ``. +5. Include this wrapper in your project using the 'include' syntax. ie) `include zc.php`. + +### Composer +1. Download this package with Composer: `composer require zingchart/php_wrapper`. +2. AutoLoad your package dependencies in your project: `require __DIR__ . '/vendow/autoload.php;`. +3. Reference this library in your code: `use ZingChart\PHPWrapper\ZC;`. + ## Quick Start diff --git a/composer.json b/composer.json index 91912b2..1fcab19 100644 --- a/composer.json +++ b/composer.json @@ -1,12 +1,16 @@ { "name": "zingchart/php_wrapper", "description": "PHP wrapper for ZingChart", + "homepage": "https://www.zingchart.com", + "type": "library", + "keywords": [ "ZingChart", "charts", "graphs" ], "authors": [ { "name": "ZingChart", "email": "support@zingchart.com" } ], + "license": "MIT", "repositories": [ { "type": "vcs", @@ -15,7 +19,7 @@ ], "minimum-stability": "stable", "require": { - "php": "^5.3.3" + "php": "^5.3" }, "autoload": { "psr-4": {