Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.
/ dynamap Public archive

DynamoDB object mapper. Like Doctrine or Eloquent, but for DynamoDB.

License

Notifications You must be signed in to change notification settings

brefphp/dynamap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5e75973 · Apr 17, 2019

History

12 Commits
Apr 14, 2019
Apr 17, 2019
Apr 17, 2019
Apr 14, 2019
Apr 14, 2019
Apr 14, 2019
Apr 14, 2019
Apr 14, 2019
Apr 14, 2019
Apr 16, 2019
Apr 14, 2019
Apr 14, 2019
Apr 14, 2019

Repository files navigation

DynamoDB object mapper. Like Doctrine or Eloquent, but for DynamoDB.

Build Status Latest Version Total Downloads

This library is currently in an experimental status and is not meant to be used in production.

Installation

composer require bref/dynamap

Usage

$dynamap = Dynamap::fromOptions([
    'region' => 'us-east-1',
], $mapping);

$dynamap->save($myObject);
$myObject = $dynamap->get('table', 'key');
$objects = $dynamap->getAll('table');

Supported field types:

  • string
  • integer
  • bool
  • DateTimeImmutable (stored as string)

Contributing

To run tests locally:

  • start DynamoDB local with docker-compose up or docker-compose start
  • run phpunit

About

DynamoDB object mapper. Like Doctrine or Eloquent, but for DynamoDB.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages