From 0373c8369fb2425fc4652d179bb05b4f6fe01c8c Mon Sep 17 00:00:00 2001 From: malle-pietje Date: Thu, 7 Sep 2017 12:48:14 +0200 Subject: [PATCH] updated README --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c48a4fd..e31d763 100755 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ This class is largely based on the work done by the following developers: ## Installation ## -You can use **Composer** or simply **Download the Release** +You can use **Composer**, **Git** or simply **Download the Release** ### Composer @@ -140,6 +140,20 @@ Finally, be sure to include the autoloader in your code: require_once('vendor/autoload.php'); ``` +### Git + +Execute the following `git` command from the shell in your project directory: + +```sh +git clone https://github.com/Art-of-WiFi/UniFi-API-client.git +``` + +When git is done cloning, include the file containing the class like so in your code: + +```php +require_once('path/to/src/Client.php'); +``` + ### Download the Release If you prefer not to use composer, you can simply [download the package](https://github.com/Art-of-WiFi/UniFi-API-client/archive/master.zip), uncompress the zip file, then in your code include the file containing the class like so: