Download the PHP package slava-ponomarenko/dynamodb without Composer
On this page you can find all versions of the php package slava-ponomarenko/dynamodb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download slava-ponomarenko/dynamodb
More information about slava-ponomarenko/dynamodb
Files in slava-ponomarenko/dynamodb
Download slava-ponomarenko/dynamodb
More information about slava-ponomarenko/dynamodb
Files in slava-ponomarenko/dynamodb
Vendor slava-ponomarenko
Package dynamodb
Short Description DynamoDb wrapper for your Laravel model and helpers
License MIT
Package dynamodb
Short Description DynamoDb wrapper for your Laravel model and helpers
License MIT
Please rate this library. Is it a good library?
Informations about the package dynamodb
laravel-dynamodb
Supports all key types - primary hash key and composite keys.
- Install
- Usage
- Composite Keys
- Test
- Requirements
- Todo
- License
- Author and Contributors
Install
-
Composer install
-
Install service provider:
- Put DynamoDb config in
config/services.php
:
Usage
- Extends your model with
BaoPham\DynamoDb\DynamoDbModel
, then you can use Eloquent methods that are supported. The idea here is that you can switch back to Eloquent without changing your queries.
Supported methods:
- Or if you want to sync your DB table with a DynamoDb table, use trait
BaoPham\DynamoDb\ModelTrait
, it will call aPutItem
after the model is saved.
Composite Keys
To use composite keys with your model:
-
Set
$compositeKey
to an array of the attributes names comprising the key, e.g. - To find a record with a composite key
Test
Run:
-
DynamoDb local version: 2015-07-16_1.0
- DynamoDb local schema for tests created by the DynamoDb local shell is located here
Requirements
Laravel ^5.1
TODO
- [ ] Upgrade a few legacy attributes:
AttributesToGet
,ScanFilter
, ...
License
MIT
Author and Contributors
- Bao Pham
- warrick-loyaltycorp
All versions of dynamodb with dependencies
PHP Build Version
Package Version
Requires
aws/aws-sdk-php Version
^3.0.0
illuminate/support Version ~5.1
illuminate/database Version ~5.1
paragonie/random_compat Version ^1.1
illuminate/support Version ~5.1
illuminate/database Version ~5.1
paragonie/random_compat Version ^1.1
The package slava-ponomarenko/dynamodb contains the following files
Loading the files please wait ....