controlbit/dto-mapper

Maintainers

Package info

github.com/controlbit/dto-mapper

pkg:composer/controlbit/dto-mapper

Transparency log

Statistics

Installs: 419

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

v1.1.1 2026-07-19 19:37 UTC

This package is auto-updated.

Last update: 2026-07-19 19:39:58 UTC


README

Quick setup

composer require controlbit/dto-mapper

Add to your bundles.php line:

ControlBit\Dto\Bridge\Symfony\DtoBundle::class                               => ['all' => true],

Inject ControlBit\Dto\Contract\Mapper\MapperInterface in your Service and Map to/from your DTOs.

Next, read Usage and you're good!

Documentation

TODO (Upcoming):

  • Mapping UploadedFile into \SplFileInfo (could be that half of it is working already)
  • Caching Mapping Metadata
  • Improve error messages