Skip to content

lelivrescolaire/DynamoDBBundle

Repository files navigation

LeLivreScolaire

DynamoDB Bundle Build Status Coverage Status

Use AWS DynamoDB NoSQL database from inside your Symfony 2 application.

Installation

$ composer require "lelivrescolaire/dynamodb-bundle:dev-master"

AppKernel:

public function registerBundles()
{
    $bundles = array(
        new LLS\Bundle\AWSBundle\LLSAWSBundle(),
        new LLS\Bundle\DynamoDBBundle\LLSDynamoDBBundle(),
    );
}

Configuration reference

llsaws:
    identities:
        my_identity:                        # Arbitrary Identity service name
            type: user                      # Identity type name (factory alias)
            fields:                         # Identity fields
                key: '<user AWS key>'
                secret: '<user AWS secret>'
    services:
        my_dynamodb:
            type:     dynamodb
            identity: my_identity

# Handle sessions with DynamoDB

services:
    session.handler.dynamodb:
        class:     LLS\Bundle\DynamoDBBundle\Session\Storage\Handler\DynamoDBSessionHandler
        arguments:
            - @llsaws.services.my_dynamodb              # Auto generated service

Read more documentation here

Contribution

Feel free to send us Pull Requests and Issues with your fixs and features.

Run test

Unit tests

$ ./bin/atoum

Coding standards

$ ./bin/coke

About

Symfony 2 bundle for AWS DynamoDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages