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: