2017 © Pedro PelĂĄez
 

library gringotts-sdk

SDK for Gringotts

image

evaneos/gringotts-sdk

SDK for Gringotts

  • Monday, November 21, 2016
  • by oliviermadre
  • Repository
  • 7 Watchers
  • 0 Stars
  • 9,025 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 15 Versions
  • 41 % Grown

The README.md

gringotts-sdk

Evaneos assets storage SDK, (*1)

Installation

In order to be up and running with the SDK you'll need to require it via composer, (*2)

composer require evaneos/gringotts-sdk, (*3)

and then create a new instance with the URL of your Gringotts instance :, (*4)

$gringotts = new GringottsClient('http://your-gringotts-instance.com');

Storing an asset

Gringotts SDK allows to store assets through different forms : String, PHP resource or PSR StreamInterface and will respond with the asset id., (*5)

$gringotts = new GringottsClient('http://your-gringotts-instance.com');

$assetId = $gringotts->store('Some data as string');

You can even force your own uuid:, (*6)

$assetId = $gringotts->storeWithId('871CDC92-A75B-43E7-A38E-FC22AA5450CA', 'Some data as string');

Retrieving an asset

You can retrieve a previously stored asset using the id provided while storing it. Gringotts SDK will return a stream implementing PSR StreamInterface., (*7)

$gringotts = new GringottsClient('http://your-gringotts-instance.com');

$asset = $gringotts->get('871CDC92-A75B-43E7-A38E-FC22AA5450CA');

The Versions

21/11 2016

dev-master

9999999-dev

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

21/11 2016

v0.10.0

0.10.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

07/11 2016

v0.9.1

0.9.1.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

07/11 2016

v0.9.0

0.9.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

27/09 2016

0.8.0

0.8.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

06/04 2016

v0.7.0

0.7.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

25/03 2016

v0.6.0

0.6.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

22/03 2016

v0.5.0

0.5.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

07/03 2016

v0.4.0

0.4.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

04/03 2016

v0.3.0

0.3.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

02/03 2016

v0.2.3

0.2.3.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

02/03 2016

v0.2.2

0.2.2.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

01/03 2016

v0.2.1

0.2.1.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

01/03 2016

v0.2

0.2.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson

29/12 2015

v0.1

0.1.0.0

SDK for Gringotts

  Sources   Download

proprietary

The Requires

 

The Development Requires

by Régis Belson