, (*1)
Use AWS DynamoDB NoSQL database from inside your Symfony 2 application., (*2)
Installation
$ composer require "lelivrescolaire/dynamodb-bundle:dev-master"
AppKernel:, (*3)
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, (*4)
Contribution
Feel free to send us Pull Requests and Issues with your fixs and features., (*5)
Run test
Unit tests
$ ./bin/atoum
Coding standards
$ ./bin/coke