An open API service indexing awesome lists of open source software.

https://github.com/phore/phore-cloudstore

Wrapper for GCS, Azure and Amazon Cloud stores
https://github.com/phore/phore-cloudstore

cloudstore wrapper

Last synced: 5 months ago
JSON representation

Wrapper for GCS, Azure and Amazon Cloud stores

Awesome Lists containing this project

README

          

# Cloudstore - Wrapper for various cloud based buckets

## Install

```
composer requre phore/cloudstore
```

## Basic usage

```php
$store = new ObjectStore(new GoogleCloudStoreDriver(__DIR__ . "/file/to/identity.json", "bucketName"));

$store->put("object/some.json", "Some Data");

if ($store->has("object/some.json"))
echo "Object existing";

echo $store->get("object/some.json");
```