PHPackages                             sbooker/doctrine-object-mapping-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. [Database &amp; ORM](/categories/database)
4. /
5. sbooker/doctrine-object-mapping-bundle

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

sbooker/doctrine-object-mapping-bundle
======================================

Doctrine object types mapping support

1.2.0(1y ago)04.5kMITPHPPHP &gt;=8.2

Since Jun 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sbooker/doctrine-object-mapping-bundle)[ Packagist](https://packagist.org/packages/sbooker/doctrine-object-mapping-bundle)[ RSS](/packages/sbooker-doctrine-object-mapping-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

Doctrine object mapping bundle
==============================

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

[![Latest Version](https://camo.githubusercontent.com/37b4451491afd93775a79e6d1a95e10fab6543f390624380068ba21410bc207f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73626f6f6b65722f646f637472696e652d6f626a6563742d6d617070696e672d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://img.shields.io/packagist/v/sbooker/doctrine-object-mapping-bundle)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/sbooker/doctrine-object-mapping-bundle/blob/master/LICENSE)[![PHP Version](https://camo.githubusercontent.com/6efa0f06deedbca2fb96dc099670dea943ca3104b8430dd3b8b76c6fd6e96902/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f73626f6f6b65722f646f637472696e652d6f626a6563742d6d617070696e672d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://php.net)[![Total Downloads](https://camo.githubusercontent.com/9de6c32407712ceacabee8127e9b3c3007eaffc60db3eda7af849db1ab0c1a8f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73626f6f6b65722f646f637472696e652d6f626a6563742d6d617070696e672d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sbooker/doctrine-object-mapping-bundle)

Maps immutable object and object list to single json field.

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Step 1: Download library

[](#step-1-download-library)

```
$ composer require sbooker/doctrine-object-mapping-bundle
```

### Step 2: Enable the Bundle (skip this step if your project use Symfony Flex)

[](#step-2-enable-the-bundle-skip-this-step-if-your-project-use-symfony-flex)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Sbooker\DoctrineObjectMappingBundle\SbookerDoctrineObjectMappingBundle::class => ['all' => true],
];
```

### Step 3: Customize normalizer/denormalizer (skip this step if not needed)

[](#step-3-customize-normalizerdenormalizer-skip-this-step-if-not-needed)

```
# config/packages/sbooker_doctrine_object_mapping.yaml

sbooker_doctrine_object_mapping:
      normalizer: your.normalizer.service
      denormalizer: your.denormalizer.service
```

### Step 4: Declare Doctrine types

[](#step-4-declare-doctrine-types)

See [`sbooker/doctrine-object-mapping`](https://github.com/sbooker/doctrine-object-mapping) documentation.

### Step 5: Register Doctrine types

[](#step-5-register-doctrine-types)

See [`symfony/doctrine-bundle`](https://symfony.com/doc/current/bundles/DoctrineBundle/index.html) documentation.

License
-------

[](#license)

See [LICENSE](https://github.com/sbooker/doctrine-object-mapping-bundle/blob/master/LICENSE) file.

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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 ~533 days

Total

4

Last Release

564d ago

Major Versions

0.5.0 → 1.0.02022-03-30

PHP version history (3 changes)0.5.0PHP ^7.2

1.0.0PHP ^7.3 || ^8.0

1.2.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/f97b1f6ea03776dda6e0ec26d1ff3a3309972d65bd1376eb111c2b35017af339?d=identicon)[sbooker](/maintainers/sbooker)

---

Top Contributors

[![sbooker](https://avatars.githubusercontent.com/u/3658174?v=4)](https://github.com/sbooker "sbooker (4 commits)")

### Embed Badge

![Health badge](/badges/sbooker-doctrine-object-mapping-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/sbooker-doctrine-object-mapping-bundle/health.svg)](https://phpackages.com/packages/sbooker-doctrine-object-mapping-bundle)
```

###  Alternatives

[a2lix/translation-form-bundle

Translate your doctrine objects easily with some helpers

3376.9M38](/packages/a2lix-translation-form-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[kreait/firebase-bundle

Symfony Bundle for the Firebase Admin SDK

1534.7M2](/packages/kreait-firebase-bundle)

PHPackages © 2026

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