Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
malle-pietje committed Sep 7, 2017
1 parent cf41e75 commit 0373c83
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down

0 comments on commit 0373c83

Please sign in to comment.