mirror of
https://github.com/SociallyDev/Spaces-API.git
synced 2025-07-31 12:00:27 -07:00
Added Composer integration
This commit is contained in:
parent
2c73f816cc
commit
b6d382371c
1 changed files with 3 additions and 0 deletions
|
@ -3,7 +3,10 @@ An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
|
||||||
|
|
||||||
### Connecting
|
### Connecting
|
||||||
```php
|
```php
|
||||||
|
//Either:
|
||||||
require_once("spaces.php");
|
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";
|
$key = "EXAMPLE_KEY";
|
||||||
$secret = "EXAMPLE_SECRET";
|
$secret = "EXAMPLE_SECRET";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue