Search by

zjkiza / dto-mapper

zjkiza

Mapping Symfony entity to dto and dto to Symfony entity.

Package info

github.com/zjkiza/mapper

Type:symfony-bundle

pkg:composer/zjkiza/dto-mapper

Statistics

Installs: 29

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

v0.9.0 2026-10-29 19:03 UTC

This package is auto-updated.

Last update: 2026-10-29 19:06:50 UTC


README

Mapping Symfony entity to dto, dto to Symfony entity, Symfony entity collection to dto and dto collection to Symfony entity collection. Bundle is based on using setters and getters from entity.

Requirements

Package Supported versions Tested in CI
PHP 8.2 - 8.5 8.2, 8.3, 8.4 (8.5 experimental)
Symfony 5.4, 6.4, 7.x, 8.x 6.4, 7.4, 8.1
Doctrine ORM 2.17, 3.x 2.17 (lowest), 3.x
Doctrine Persistence 2.4 - 4.x 2.5 (lowest), 4.x

Symfony 5.4 is supported by the bundle code, but it is not covered by the automated tests because the test stack (PHPUnit 11.5 or newer, DAMA Doctrine test bundle) requires Symfony 6.4 or newer.

Table of contents

Planned

  • support that all data can be sent via the entity constructor.