From b0aa4f5cd98887bd89f13d5e1ca02d4705579a43 Mon Sep 17 00:00:00 2001 From: Parris Varney Date: Wed, 15 Apr 2015 14:21:06 -0400 Subject: [PATCH 1/2] Create composer.json --- composer.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 composer.json diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..f5182ce --- /dev/null +++ b/composer.json @@ -0,0 +1,18 @@ +{ + "name": "hubspot/haPiHP", + "description": "A PHP client for HubSpot's APIs", + "homepage": "https://github.com/HubSpot/haPiHP", + "license": "Apache-2.0", + "authors": [ + { + "name": "hubspot", + "email": "support@hubspot.com" + } + ], + "require": { + "php": ">=5.3.0" + }, + "autoload": { + "classmap": ["/"] + } +} \ No newline at end of file From 8aac03e91440b0480449acb7b1210e59ab5d3824 Mon Sep 17 00:00:00 2001 From: Parris Varney Date: Wed, 15 Apr 2015 14:55:50 -0400 Subject: [PATCH 2/2] Documentation for composer installation --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index b5d8432..84dda81 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,24 @@ A PHP client for HubSpot's APIs. Docs for this client: [https://github.com/HubS General API reference documentation: [http://developers.hubspot.com/docs](http://developers.hubspot.com/docs). +### Composer Installation + +Add haPiPH to composer.json: +``` + "require": { + "hubspot/haPiHP": "1.0" + } +``` + +Run composer install or update: +``` +composer install +``` +or +``` +composer update +``` + ### Contributors * [adrianmott](https://github.com/adrianmott) (Adrian Mott) @@ -14,3 +32,4 @@ General API reference documentation: [http://developers.hubspot.com/docs](http:/ * [ajorgensen](https://github.com/ajorgensen) (Andrew Jorgensen) * [jprado](https://github.com/jprado) * [thinkclay](https://github.com/thinkclay) (Clayton McIlrath) +* [parrisvarney](https://github.com/parrisvarney) (Parris Varney)