2017 © Pedro Peláez
 

library phlocal-dynamo

Helper for launching dynamo db for testing

image

mead-steve/phlocal-dynamo

Helper for launching dynamo db for testing

  • Monday, April 2, 2018
  • by MeadSteve
  • Repository
  • 1 Watchers
  • 2 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

PhlocalDynamo

Build Status, (*1)

This package provides a wrapper for the DynamoDb.jar that is available from AWS for local deployment. It is intended to speed up development and testing with dynamo db., (*2)

The required dynamo library should be downloadable from here: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html, (*3)

This package is a php port of a c# library from JUST EAT: https://github.com/justeat/LocalDynamoDb, (*4)

Getting Started

Java is required as Amazon provide the local DynamoDb as a jar file., (*5)

Run composer require mead-steve/phlocal-dynamo, (*6)

The DynamoDb.jar isn't included in this package to avoid licensing issues.
Add the contents of the zip/tar file from amazon in to vendor\MeadSteve\PhlocalDynamo\src\dynamo, (*7)

Then in any test classes simply do the following, (*8)

    $dynamo = new LocalDynamo(9091);
    $dynamo->start();

And to stop it, (*9)

    $dynamo->stop();

Using PhlocalDynamo

Calling $dynamo->getClient() will return a dynamo client instance pointing to the local instance of dynamo., (*10)

The Versions

02/04 2018

dev-master

9999999-dev

Helper for launching dynamo db for testing

  Sources   Download

MIT

The Requires

 

The Development Requires

by Steve B

testing aws dynamo

16/01 2016

v0.1.2

0.1.2.0

Helper for launching dynamo db for testing

  Sources   Download

MIT

The Requires

 

The Development Requires

by Steve B

testing aws dynamo

16/01 2016

v0.1.1

0.1.1.0

Helper for launching dynamo db for testing

  Sources   Download

MIT

The Requires

 

The Development Requires

by Steve B

testing aws dynamo

16/01 2016

dev-travis

dev-travis

Helper for launching dynamo db for testing

  Sources   Download

MIT

The Requires

 

The Development Requires

by Steve B

testing aws dynamo

13/01 2016

v0.1.0

0.1.0.0

Helper for launching dynamo db for testing

  Sources   Download

MIT

The Requires

 

The Development Requires

by Steve B

testing aws dynamo