PHPackages                             dmr/dmr-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. dmr/dmr-bundle

AbandonedArchivedSymfony-bundle

dmr/dmr-bundle
==============

Allows to easily use the DMR library in a Symfony project

08PHP

Since Jun 27Pushed 12y agoCompare

[ Source](https://github.com/marcospassos/DMRBundle)[ Packagist](https://packagist.org/packages/dmr/dmr-bundle)[ RSS](/packages/dmr-dmr-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Doctrine Mapping Reader Bundle
==============================

[](#doctrine-mapping-reader-bundle)

Provides a Doctrine Mapping Reader integration for your Symfony projects.

[![Build Status](https://camo.githubusercontent.com/81fc0805b70108197dad397db60c6c6ea35dd18061cb7dbdab6c4709146acde4/68747470733a2f2f7472617669732d63692e6f72672f6d6172636f73706173736f732f444d5242756e646c652e706e67)](https://travis-ci.org/marcospassos/DMRBundle)

About DMR
---------

[](#about-dmr)

PHP 5.3+ library that provides a simple and flexible way to load custom mapping data for Doctrine 2.3+ projects.

It supports Yaml, Xml and Annotation drivers which will be chosen depending on currently used mapping driver for your domain objects.

Documentation is available on the [official page of DMR](https://github.com/marcospassos/DMR).

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

[](#installation)

This bundle can be installed using composer by adding the following in the `require` section of your `composer.json` file:

```
{
    "require": {
        "dmr/dmr-bundle": "0.1.*-dev"
    }
}
```

Note that if your application requires a stability greater stable than `dev` you have to include the `dmr/dmr` requirement, because only the root package can whitelist stabilities less stable than the configured minimum stability.

```
{
    "require": {
        "dmr/dmr": "0.1.*@dev",
        "dmr/dmr-bundle": "0.1.*-dev"
    }
}
```

Alternatively, you can [download](https://github.com/marcospassos/DMRBundle/archive/master.zip) an archive of the bundle and unpack it in the `vendor/bundles/DMR/Bundle/DMRBundle` directory of your application, but it is not recommended.

### Register the bundle

[](#register-the-bundle)

You must register the bundle in your kernel:

```
