linkorb/silex-provider-objectstorage

v2.0.0 2017-05-31 11:21 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.