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
- Host: GitHub
- URL: https://github.com/phore/phore-cloudstore
- Owner: phore
- Created: 2018-08-20T10:55:39.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-30T15:31:18.000Z (almost 8 years ago)
- Last Synced: 2024-04-18T11:02:28.735Z (about 2 years ago)
- Topics: cloudstore, wrapper
- Language: Shell
- Homepage: https://infracamp.org/phore/
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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");
```