etshy / automapper-bundle
Bundle that integrate etshy/automapper into symfony projects
v0.1.5
2023-06-28 22:18 UTC
Requires
- php: ^8.1
- etshy/automapper: ^1.0
- symfony/framework-bundle: ^5.0|^6.0
Requires (Dev)
- phpunit/phpunit: ^10.0
- roave/security-advisories: dev-latest
- symfony/phpunit-bridge: ^6.2
README
Integrate my Automapper library as a Bundle.
Installation
composer require etshy/automapper-bundle
Usage
Implements the Etshy\AutoMapperBundle\EtshyAutoMapperConfiguratorInterface
to expose the Etshy\AutoMapper\Configuration\AutoMapperConfiguration
.
Then you can register your mapping as state in the base library
To map objects, you have to inject Etshy\AutoMapper\AutoMapperInterface
in your class.
This bundle is really early access !