PHPackages                             arens-myzyri/data-transformation-and-serialization - 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. arens-myzyri/data-transformation-and-serialization

ActiveSymfony-bundle

arens-myzyri/data-transformation-and-serialization
==================================================

v1.0.5(1y ago)461MITPHPPHP &gt;=8.1

Since Aug 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ArensMyzyri/data-transformation-and-serializer)[ Packagist](https://packagist.org/packages/arens-myzyri/data-transformation-and-serialization)[ RSS](/packages/arens-myzyri-data-transformation-and-serialization/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (5)Used By (0)

Data transformer and serializer
===============================

[](#data-transformer-and-serializer)

This is a simple though powerful transformer that helps you with normalizing and serializing models, json, array and so on.

Requirements
------------

[](#requirements)

- PHP 8.1 or higher;
- Symfony 6.2 or higher;
- Symfony Serializer

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

[](#installation)

```
composer require ArensMyzyri/data-transformation-and-serializer
```

Usage
-----

[](#usage)

There's no need to configure anything before running the application.

You can inject the interface in the constructor like:

```
public function __construct(
  private DataTransformerInterface $dataTransformer
) { }
```

Then simple call the method you want to use:

```
$this->dataTransformer->transformModelToJson($model);
$this->dataTransformer->transformJsonToModel($jsonData, Model::class);
$this->dataTransformer->transformArrayToModel($arrayData, Model::class);
```

Tests
-----

[](#tests)

Execute this command to run tests in the root of the project:

```
./vendor/bin/phpunit
```

License
-------

[](#license)

Copyright (c) 2024 Arens Myzyri

MIT.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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 ~48 days

Total

2

Last Release

590d ago

### Community

Maintainers

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

---

Top Contributors

[![ArensMyzyri](https://avatars.githubusercontent.com/u/22968942?v=4)](https://github.com/ArensMyzyri "ArensMyzyri (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arens-myzyri-data-transformation-and-serialization/health.svg)

```
[![Health](https://phpackages.com/badges/arens-myzyri-data-transformation-and-serialization/health.svg)](https://phpackages.com/packages/arens-myzyri-data-transformation-and-serialization)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)

PHPackages © 2026

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