From b6d382371c7b474ed6431074a2d2f00ff4381972 Mon Sep 17 00:00:00 2001 From: Devang Srivastava Date: Sat, 3 Feb 2018 23:11:37 +0530 Subject: [PATCH] Added Composer integration --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b6f20fa..258c895 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,10 @@ An API wrapper for DigitalOcean's Spaces object storage designed for easy use. ### Connecting ```php +//Either: require_once("spaces.php"); +//OR COMPOSER: +require_once("vendor/autoload.php"); //Install first by executing: composer require SociallyDev/Spaces-API in your project's directory. $key = "EXAMPLE_KEY"; $secret = "EXAMPLE_SECRET";