PHPackages                             pecserke/universal-mappings - 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. [Database &amp; ORM](/categories/database)
4. /
5. pecserke/universal-mappings

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

pecserke/universal-mappings
===========================

Symfony2 Twig DoctrineLoader Bundle

1.0.x-dev(12y ago)1316[4 issues](https://github.com/tomas-pecserke/UniversalMappings/issues)1MITPHP

Since Apr 2Pushed 11y ago1 watchersCompare

[ Source](https://github.com/tomas-pecserke/UniversalMappings)[ Packagist](https://packagist.org/packages/pecserke/universal-mappings)[ Docs](https://github.com/tomas-pecserke/UniversalMappings)[ RSS](/packages/pecserke-universal-mappings/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (4)Versions (4)Used By (1)

PecserkeUniversalMappings
=========================

[](#pecserkeuniversalmappings)

[![Build Status](https://camo.githubusercontent.com/9c07d505b8f64ea507461c002ddb20a29642436b68a96f22559091298043bc7e/68747470733a2f2f7472617669732d63692e6f72672f746f6d61732d7065637365726b652f556e6976657273616c4d617070696e67732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/tomas-pecserke/UniversalMappings)[![Latest Stable Version](https://camo.githubusercontent.com/b72a6b063ba494bc634ab1fd1b6e8fb95ab2fd595475ebdeb5ee9a3d8f5f1eef/68747470733a2f2f706f7365722e707567782e6f72672f7065637365726b652f756e6976657273616c2d6d617070696e67732f762f737461626c652e706e67)](https://packagist.org/packages/pecserke/universal-mappings)[![Latest Unstable Version](https://camo.githubusercontent.com/a5f5d15bc9a2d6a3b21dc8051732cee88393ee82e41266596e28ee6da9c5e560/68747470733a2f2f706f7365722e707567782e6f72672f7065637365726b652f756e6976657273616c2d6d617070696e67732f762f756e737461626c652e706e67)](https://packagist.org/packages/pecserke/universal-mappings)[![SensioLabsInsight](https://camo.githubusercontent.com/3f78d0379c31dc4426c7a672674fdcbc26eb5fa12f7d0e1b34c230c30b2119cd/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f35373232626665642d353965352d346464302d623961332d3034313930306436346238322f6d696e692e706e67)](https://insight.sensiolabs.com/projects/5722bfed-59e5-4dd0-b9a3-041900d64b82)

This component allows you to write your [Doctrine2](http://www.doctrine-project.org/)model classes once, and define only mapping information for each backend ([ORM](http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/), [MongoDB ODM](http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/), [CouchDB ODM](http://doctrine-orm.readthedocs.org/projects/doctrine-couchdb/en/latest/), [PHPCR ODM](http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/)).

PecserkeUniversalMappings is intended for use in bundles, which provide some database-backed functionality without forcing the backend, need to write model classes for each supported backend, or forcing bundle's users to provide their own model class implementation.

*Note:* This component is not meant for use in final product bundles. Those usually have no need of universal mappings.

Documentation
-------------

[](#documentation)

[Read the documentation](Resources/doc/index.md)

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

[](#installation)

Installation instructions are located in [documentation](Resources/doc/index.md#installation).

License
-------

[](#license)

This component is under the MIT license. See the complete license in the bundle:

[LICENSE](LICENSE)

About
-----

[](#about)

This component is inspired by solution originally introduced into [FOSUserBundle](https://github.com/FriendsOfSymfony/FOSUserBundle)and written by [David Buchmann](https://github.com/dbu).

Reporting an issue or a feature request
---------------------------------------

[](#reporting-an-issue-or-a-feature-request)

Issues and feature requests are tracked in the [GitHub issue tracker](https://github.com/tomas-pecserke/UniversalMappings/issues).

When reporting a bug, it may be a good idea to reproduce it in a basic project built using the [Symfony Standard Edition](https://github.com/symfony/symfony-standard)to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

4425d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1516250?v=4)[Tomáš Pecsérke](/maintainers/tomas-pecserke)[@tomas-pecserke](https://github.com/tomas-pecserke)

---

Top Contributors

[![tomas-pecserke](https://avatars.githubusercontent.com/u/1516250?v=4)](https://github.com/tomas-pecserke "tomas-pecserke (30 commits)")

---

Tags

doctrineSymfony2mapping

### Embed Badge

![Health badge](/badges/pecserke-universal-mappings/health.svg)

```
[![Health](https://phpackages.com/badges/pecserke-universal-mappings/health.svg)](https://phpackages.com/packages/pecserke-universal-mappings)
```

###  Alternatives

[a2lix/translation-form-bundle

Translate your doctrine objects easily with some helpers

3376.9M38](/packages/a2lix-translation-form-bundle)[sonata-project/doctrine-orm-admin-bundle

Integrate Doctrine ORM into the SonataAdminBundle

46117.7M155](/packages/sonata-project-doctrine-orm-admin-bundle)[fresh/doctrine-enum-bundle

Provides support of ENUM type for Doctrine2 in Symfony applications.

4636.8M12](/packages/fresh-doctrine-enum-bundle)[onurb/doctrine-yuml-bundle

Symfony Bundle to visualize the mapping of your entities with Yuml

4198.6k](/packages/onurb-doctrine-yuml-bundle)[mmoreram/simple-doctrine-mapping

Simple Doctrine Mapping

2969.9k35](/packages/mmoreram-simple-doctrine-mapping)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
