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

AbandonedArchivedLibrary

thomasbeaujean/getsetforeignnormalizer-bundle
=============================================

Add the getsetforeignnormalizer service

v2.0.1(10y ago)1311PHP

Since Mar 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thomasbeaujean/GetSetForeignNormalizerBundle)[ Packagist](https://packagist.org/packages/thomasbeaujean/getsetforeignnormalizer-bundle)[ RSS](/packages/thomasbeaujean-getsetforeignnormalizer-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (10)Versions (10)Used By (0)

GetSetForeignNormalizerBundle
=============================

[](#getsetforeignnormalizerbundle)

DEPRECATED: This bundle is not usefull anymore, use Symfony serializer/normalizer instead

This bundle gives a service that permits to normalize a doctrine entity.

The entity is normalized and the ids of the foreign entities of the entity are also normalized.

Install
=======

[](#install)

```
composer require "tbn/getsetforeignnormalizer-bundle"

```

Usage
=====

[](#usage)

Get the service in your controller
----------------------------------

[](#get-the-service-in-your-controller)

```
    $normalizer = $this->get('get_set_foreign_normalizer');

```

If you do not want to normalize some attributes, use the setIgnoredAttributes parameter
---------------------------------------------------------------------------------------

[](#if-you-do-not-want-to-normalize-some-attributes-use-the-setignoredattributes-parameter)

```
    $normalizer->normalize($entities, true, false, array('allImages'));//avoid the getAllImages function

```

The foreign entities are not fully normalized by default
--------------------------------------------------------

[](#the-foreign-entities-are-not-fully-normalized-by-default)

You can normalize all entities using

```
    $normalizer->normalize($entities, true);

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~25 days

Recently: every ~15 days

Total

9

Last Release

3867d ago

Major Versions

v1.3.0 → v2.0.02015-08-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ea8a2617988a793aef214fa41de59c562bd141343046102e6bf87d6db4cc354?d=identicon)[thomasbeaujean](/maintainers/thomasbeaujean)

---

Top Contributors

[![thomasbeaujean](https://avatars.githubusercontent.com/u/5817919?v=4)](https://github.com/thomasbeaujean "thomasbeaujean (7 commits)")[![jonag](https://avatars.githubusercontent.com/u/2146169?v=4)](https://github.com/jonag "jonag (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thomasbeaujean-getsetforeignnormalizer-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/thomasbeaujean-getsetforeignnormalizer-bundle/health.svg)](https://phpackages.com/packages/thomasbeaujean-getsetforeignnormalizer-bundle)
```

PHPackages © 2026

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