linkorb/silex-provider-objectstorage

Service providing Object Storage.

v2.0.0 2017-05-31 11:21 UTC

This package is auto-updated.

Last update: 2024-10-29 05:04:54 UTC


README

Provides the ObjectStorage\Service from linkorb/objectstorage as a service named object_storage.service.

Install

Install using composer:-

$ composer require linkorb/silex-provider-objectstorage

Then, configure the storage service and register the provider, passing the configuration values to the register method:-

// app/app.php
use LinkORB\ObjectStorage\Provider\ObjectStorageServiceProvider;
...
$app->register(
    new ObjectStorageServiceProvider,
    ['object_storage.config' => [...]]
);

Usage

See the documentation for linkorb/objectstorage.