Download the PHP package anton-am/do-spaces-api without Composer
On this page you can find all versions of the php package anton-am/do-spaces-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download anton-am/do-spaces-api
More information about anton-am/do-spaces-api
Files in anton-am/do-spaces-api
Download anton-am/do-spaces-api
More information about anton-am/do-spaces-api
Files in anton-am/do-spaces-api
Vendor anton-am
Package do-spaces-api
Short Description An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
License MIT
Package do-spaces-api
Short Description An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
License MIT
Please rate this library. Is it a good library?
Informations about the package do-spaces-api
Spaces-API
An API wrapper for DigitalOcean's Spaces object storage designed for easy use.
Installation
- Using Composer:
Connecting
All available options:
SpacesConnect(REQUIRED KEY, REQUIRED SECRET, OPTIONAL SPACE's NAME, OPTIONAL REGION, OPTIONAL HOST);
Uploading/Downloading Files
All available options:
UploadFile(REQUIRED PATH TO FILE, OPTIONAL PRIVACY (public|private) OPTIONAL NAME TO SAVE FILE AS);
DownloadFile(REQUIRED FILE TO DOWNLOAD, REQUIRED LOCATION TO SAVE IN);
Deleting Files/Folders
All available options:
DeleteObject(REQUIRED FILE OR FOLDER TO DELETE, OPTIONAL RECURSIVE (false|true));
Changing Privacy Settings
All available options:
MakePublic(REQUIRED PATH TO FILE);
MakePrivate(REQUIRED PATH TO FILE);
Creating Temporary Links
All available options:
CreateTemporaryURL(REQUIRED FILE NAME, OPTIONAL TIME LINK IS VALID FOR);
Other File APIs
Creating Spaces
All available options:
CreateSpace(REQUIRED SPACE NAME, OPTIONAL REGION FOR SPACE);
Switching Spaces
All available options:
SetSpace(REQUIRED SPACE NAME, OPTIONAL REGION FOR SPACE, OPTIONAL HOST);
Other Spaces APIs
Handling Errors
License
All versions of do-spaces-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2.0
ext-json Version *
ext-simplexml Version *
aws/aws-sdk-php Version ^3.108
guzzlehttp/guzzle Version ^6.3
mtdowling/jmespath.php Version ^2.4
psr/http-message Version ^1.0
ext-json Version *
ext-simplexml Version *
aws/aws-sdk-php Version ^3.108
guzzlehttp/guzzle Version ^6.3
mtdowling/jmespath.php Version ^2.4
psr/http-message Version ^1.0
The package anton-am/do-spaces-api contains the following files
Loading the files please wait ....