PHPackages                             aeviiq/data-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aeviiq/data-mapper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aeviiq/data-mapper
==================

A library that dynamically maps properties between objects.

v0.2(6y ago)15.1k1MITPHPPHP ^7.2

Since Mar 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aeviiq/data-mapper)[ Packagist](https://packagist.org/packages/aeviiq/data-mapper)[ Docs](https://github.com/aeviiq/data-mapper)[ RSS](/packages/aeviiq-data-mapper/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Aeviiq PHP Data Mapper
======================

[](#aeviiq-php-data-mapper)

Why
---

[](#why)

To provide an easy way to map objects. In the first few releases this is mainly made to map something like a form model, which has optional values and setters, to a read-only version of the object, which could be used in whatever process comes after the form submission. This way the code stays decoupled from the form itself.

Installation
------------

[](#installation)

```
composer require aeviiq/data-mapper

```

Usage
-----

[](#usage)

```
// The target can be either an object or a string representing the class name of the object you want to map to
DynamicDataMapper::map($source, Foo::class);
DynamicDataMapper::map($source, $foo);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~17 days

Total

2

Last Release

2251d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/34397049?v=4)[aeviiq](/maintainers/aeviiq)[@aeviiq](https://github.com/aeviiq)

---

Top Contributors

[![aeviiq](https://avatars.githubusercontent.com/u/34397049?v=4)](https://github.com/aeviiq "aeviiq (42 commits)")

---

Tags

mapperdata mapper

### Embed Badge

![Health badge](/badges/aeviiq-data-mapper/health.svg)

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

###  Alternatives

[cuyz/valinor

Dependency free PHP library that helps to map any input into a strongly-typed structure.

1.5k9.2M108](/packages/cuyz-valinor)[eventsauce/object-hydrator

Converts structured data into strict objects.

3322.3M20](/packages/eventsauce-object-hydrator)[symfonycasts/micro-mapper

A tiny, underwhelming data mapper to map one object to another!

82597.6k](/packages/symfonycasts-micro-mapper)[nutgram/hydrator

Hydrator for PHP 8.0+

12265.2k6](/packages/nutgram-hydrator)[acelot/automapper

Powerful declarative data mapper for PHP 8

694.2k1](/packages/acelot-automapper)[selective/transformer

A strictly typed array transformer with dot-access, fluent interface and filters.

3817.8k1](/packages/selective-transformer)

PHPackages © 2026

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