PHPackages                             mark-gerarts/automapper-plus-bundle - 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. mark-gerarts/automapper-plus-bundle

ActiveSymfony-bundle

mark-gerarts/automapper-plus-bundle
===================================

A Symfony bundle for AutoMapper+

1.5.0(2y ago)641.9M↓13.7%12[4 issues](https://github.com/mark-gerarts/automapper-plus-bundle/issues)[1 PRs](https://github.com/mark-gerarts/automapper-plus-bundle/pulls)8MITPHPPHP &gt;=7.1.0

Since Oct 12Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/mark-gerarts/automapper-plus-bundle)[ Packagist](https://packagist.org/packages/mark-gerarts/automapper-plus-bundle)[ RSS](/packages/mark-gerarts-automapper-plus-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (15)Used By (8)

AutoMapperPlusBundle
====================

[](#automapperplusbundle)

A Symfony bundle for [AutoMapper+](https://www.github.com/mark-gerarts/automapper-plus). To see it in action, check out the [demo app](https://github.com/mark-gerarts/automapper-plus-demo-app).

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Configuration](#configuration)
- [Further reading](#further-reading)

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

[](#installation)

The bundle is available on packagist:

```
$ composer require mark-gerarts/automapper-plus-bundle
```

Don't forget to register the bundle:

```
$bundles = [
    new AutoMapperPlus\AutoMapperPlusBundle\AutoMapperPlusBundle(),
    // ...
];
```

Usage
-----

[](#usage)

The automapper is available as a service: `automapper_plus.mapper` (or just type hint the `AutoMapperPlus\AutoMapperInterface`).

You can register mapping configurations by creating a class that implements the `AutoMapperConfiguratorInterface`. This configurator class will have to define a `configure` method, that gets passed the configuration object:

```
