PHPackages                             vsmoraes/dynamo-mapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. vsmoraes/dynamo-mapper

ActiveLibrary[Database &amp; ORM](/categories/database)

vsmoraes/dynamo-mapper
======================

Map data objects into dynamo queries

024PHP

Since Jul 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vsmoraes/dynamo-mapper)[ Packagist](https://packagist.org/packages/vsmoraes/dynamo-mapper)[ RSS](/packages/vsmoraes-dynamo-mapper/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

DynamoDB Mapper
===============

[](#dynamodb-mapper)

[![Build Status](https://camo.githubusercontent.com/961e894872c7dcbfda960a58a9911ff6e90a676674c15c0c0407e710ab4dddc7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f76736d6f726165732f64796e616d6f2d6d61707065722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/vsmoraes/dynamo-mapper)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/19c3b3a5dedacae3cf45b8ed35fc957d1cbb6179f6a4883cc2dd0cdbf031bcec/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f76736d6f726165732f64796e616d6f2d6d61707065722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/vsmoraes/dynamo-mapper/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/330407cffbe6c503b23a715796106a573bdd37a4e6cafe6ecc4dc13e2d4cfb52/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f76736d6f726165732f64796e616d6f2d6d61707065722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/vsmoraes/dynamo-mapper/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/be44fe544dc5756b3d312949b6ea7550bd5a918f5fc3732cb085e831bf153a0b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76736d6f726165732f64796e616d6f2d6d61707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vsmoraes/dynamo-mapper)[![Total Downloads](https://camo.githubusercontent.com/bc46437d66968421f0bae0e8729f8272764dde206806dd738d23efc009635124/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76736d6f726165732f64796e616d6f2d6d61707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vsmoraes/dynamo-mapper)[![License](https://camo.githubusercontent.com/39a2b85c87b386a27917d770a0ed53d9b9f33b5641ab1e72c7c338d5fa5c400b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f76736d6f726165732f64796e616d6f2d6d61707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vsmoraes/dynamo-mapper)

A simple wrapper so you can use your own entities with dynamodb

Instalation
-----------

[](#instalation)

The package is available on [Packagist](http://packagist.org/packages/vsmoraes/dynamo-mapper). Autoloading is [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) compatible.

`composer require vsmoraes/dynamo-mapper`

Or add it directly to you `composer.json` file

```
{
    "require": {
        "vsmoraes/dynamo-mapper": "dev-master"
    }
}
```

Usage
-----

[](#usage)

```
$data = [
    'id' => ['N' => '1'],
    'name' => ['S' => 'Foo'],
    'gender' => ['S' => 'male'],
    'active' => ['BOOL' => true]
];

$entity = (new Mapper(new Factory()))->getFilledEntity(new Person(), $data);
```

```
$entity = (new Person())->setId(1)
    ->setName('Foo');
$entity->gender = 'male';

$dynamoEntry = (new Mapper(new Factory()))->getEntityData($entity);
```

License
-------

[](#license)

MIT License

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e0d31ff1cc89f7f000ad3dbc397a935f1fff20c64e8ff29926555af4150015a9?d=identicon)[vsmoraes](/maintainers/vsmoraes)

---

Top Contributors

[![mariorezdev](https://avatars.githubusercontent.com/u/169194977?v=4)](https://github.com/mariorezdev "mariorezdev (2 commits)")[![vsmoraes](https://avatars.githubusercontent.com/u/617445?v=4)](https://github.com/vsmoraes "vsmoraes (1 commits)")

### Embed Badge

![Health badge](/badges/vsmoraes-dynamo-mapper/health.svg)

```
[![Health](https://phpackages.com/badges/vsmoraes-dynamo-mapper/health.svg)](https://phpackages.com/packages/vsmoraes-dynamo-mapper)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
