DynamoDb wrapper for your Laravel model and helpers
30
0
2
Package Data
Maintainer Username: diegoferreiracaetano
Maintainer Contact: di.cafe@hotmail.com (Diego Ferreira Caetano)
Package Create Date: 2016-06-09
Package Last Update: 2016-06-21
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:16:27
Package Statistics
Total Downloads: 30
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

laravel-dynamodb

Supports all key types - primary hash key and composite keys.

Install

  • Composer install

    composer require autodoc/dynamodb:0.1.x
    
  • Install service provider:

    // config/app.php
    
    'providers' => [
        ...
        Autodoc\DynamoDb\DynamoDbServiceProvider::class,
        ...
    ];
    
  • Put DynamoDb config in config/services.php:

    // config/services.php
        ...
        'dynamodb' =>	[
    		'region'  => env('DYNAMODB_REGION'),
    		'version' => env('DYNAMODB_VERSION'),
    		'scheme' => env('DYNAMODB_SCHEME'),
    		'credentials' => [
    			'key'    =>  env('DYNAMODB_KEY'),
    			'secret' =>  env('DYNAMODB_SECRET'),
    		]
    	],		
        ...
    

Usage

  • Extends your model with Autodoc\DynamoDb\DynamoDbModel.

Requirements

Laravel ^5.1

License

MIT

Author and Contributors

  • Diego Ferreira Caetano