2017 © Pedro Peláez
 

library swift-client

Client for the Swift object store protocol

image

treehouselabs/swift-client

Client for the Swift object store protocol

  • Tuesday, October 20, 2015
  • by pkruithof
  • Repository
  • 6 Watchers
  • 0 Stars
  • 4,149 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 3 % Grown

The README.md

Swift Client

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score, (*1)

Installation

composer require treehouselabs/swift-client:~1.0

Usage

// use `treehouselabs/keystone-client` to initialize a Guzzle Client that can
// communicate with Keystone-authenticated services
$driver = new SwiftDriver($keystoneClient);
$store  = new ObjectStore($driver);

// create a new container and object
$container = $store->createContainer('foo');
$object = $store->createObject($container, 'bar');

// set a local file to the object
$object->setLocalFile($file);

// update the object in the store
$store->updateObject($object);


// ...

// get the stored container/object
$container = $store->getContainer('foo');
$object = $container->getObject('bar);

// get the contents
$store->getObjectContent($object);

Testing

bash composer test, (*2)

Security

If you discover any security related issues, please email peter@treehouse.nl instead of using the issue tracker., (*3)

License

The MIT License (MIT). Please see License File for more information., (*4)

Credits

The Versions

20/10 2015

dev-master

9999999-dev

Client for the Swift object store protocol

  Sources   Download

MIT

The Requires

 

The Development Requires

openstack swift object store

20/10 2015

v2.0.1

2.0.1.0

Client for the Swift object store protocol

  Sources   Download

MIT

The Requires

 

The Development Requires

openstack swift object store

19/10 2015

v2.0.0

2.0.0.0

Client for the Swift object store protocol

  Sources   Download

MIT

The Requires

 

The Development Requires

openstack swift object store

18/05 2015

v1.0.1

1.0.1.0

Client for the Swift object store protocol

  Sources   Download

MIT

The Requires

 

The Development Requires

openstack swift object store

13/05 2015

v1.0.0

1.0.0.0

Client for the Swift object store protocol

  Sources   Download

MIT

The Requires

 

The Development Requires

openstack swift object store

21/05 2014