Update README.md

This commit is contained in:
Devang Srivastava 2017-12-07 22:09:17 +05:30 committed by GitHub
commit e0da836965
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,8 @@ An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
 
### Connecting
```php
require_once("spaces.php");
@ -23,6 +25,9 @@ All available options:
### Uploading/Downloading Files
```php
$path_to_file = "folder/my-image.png";
@ -47,6 +52,9 @@ All available options:
### Creating Temporary Links
```php
$file = "image.png";
@ -63,6 +71,10 @@ All available options:
### Creating Spaces
```php
$new_space = "my-new-space";