1
0
mirror of https://github.com/SociallyDev/Spaces-API.git synced 2025-03-12 05:35:22 -07:00

Added Composer integration

This commit is contained in:
Devang Srivastava 2018-02-03 23:11:37 +05:30 committed by GitHub
parent 2c73f816cc
commit b6d382371c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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";