Use AWS DynamoDB NoSQL database from inside your Symfony 2 application.
$ composer require "lelivrescolaire/dynamodb-bundle:dev-master"
AppKernel:
public function registerBundles()
{
$bundles = array(
new LLS\Bundle\AWSBundle\LLSAWSBundle(),
new LLS\Bundle\DynamoDBBundle\LLSDynamoDBBundle(),
);
}
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
Feel free to send us Pull Requests and Issues with your fixs and features.
$ ./bin/atoum
$ ./bin/coke