An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
Find a file
Devang Srivastava fc5b991fc1
Update README.md
2017-12-07 21:49:28 +05:30
aws Delete .DS_Store 2017-12-07 21:24:35 +05:30
LICENSE Initial commit 2017-12-07 20:59:09 +05:30
README.md Update README.md 2017-12-07 21:49:28 +05:30
spaces.php Update spaces.php 2017-12-07 21:30:38 +05:30

Spaces-API

An API wrapper for DigitalOcean's Spaces object storage designed for easy use.

 

Connecting

require_once("spaces.php");

$key = "EXAMPLE_KEY";
$secret = "EXAMPLE_SECRET";

$space = new SpacesConnect($key, $secret);

All available configurations:

SpacesConnect( REQUIRED KEY, REQUIRED SECRET, OPTIONAL SPACE's NAME, OPTIONAL REGION, OPTION HOST DOMAIN );