PHPackages                             gollumsf/serializer-describe-annotation-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. gollumsf/serializer-describe-annotation-bundle

ActiveSymfony-bundle[Parsing &amp; Serialization](/categories/parsing)

gollumsf/serializer-describe-annotation-bundle
==============================================

Add class annotation for describe serializer property

v2.0.1(2y ago)3668GPL-3.0-or-laterPHPPHP &gt;=7.2

Since Apr 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/GollumSF/serializer-describe-annotation-bundle)[ Packagist](https://packagist.org/packages/gollumsf/serializer-describe-annotation-bundle)[ Docs](https://github.com/GollumSF/serializer-describe-annotation-bundle)[ RSS](/packages/gollumsf-serializer-describe-annotation-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

GollumSFSerializerDescribeAnnotationBundle
==========================================

[](#gollumsfserializerdescribeannotationbundle)

[![Build Status](https://github.com/GollumSF/serializer-describe-annotation-bundle/actions/workflows/symfony_4.4.yml/badge.svg?branch=master)](https://github.com/GollumSF/serializer-describe-annotation-bundle/actions)[![Build Status](https://github.com/GollumSF/serializer-describe-annotation-bundle/actions/workflows/symfony_5.4.yml/badge.svg?branch=master)](https://github.com/GollumSF/serializer-describe-annotation-bundle/actions)[![Build Status](https://github.com/GollumSF/serializer-describe-annotation-bundle/actions/workflows/symfony_6.4.yml/badge.svg?branch=master)](https://github.com/GollumSF/serializer-describe-annotation-bundle/actions)

[![Coverage](https://camo.githubusercontent.com/2e98d2942d2938d3feb98f1c1c5c2727d72ddaa4864fa8c9cffd05f4536f7064/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f476f6c6c756d53462f73657269616c697a65722d64657363726962652d616e6e6f746174696f6e2d62756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/GollumSF/serializer-describe-annotation-bundle)[![License](https://camo.githubusercontent.com/e9864390f242bc937518516866fddb13b40e5a083d8ba3a9721169ee455eedb5/68747470733a2f2f706f7365722e707567782e6f72672f676f6c6c756d73662f73657269616c697a65722d64657363726962652d616e6e6f746174696f6e2d62756e646c652f6c6963656e73653f)](https://packagist.org/packages/gollumsf/serializer-describe-annotation-bundle)[![Latest Stable Version](https://camo.githubusercontent.com/c3f82d157458b2b871bca5401c10c4d765f6ae75f470f54ea7d936df803840f3/68747470733a2f2f706f7365722e707567782e6f72672f676f6c6c756d73662f73657269616c697a65722d64657363726962652d616e6e6f746174696f6e2d62756e646c652f762f737461626c653f)](https://packagist.org/packages/gollumsf/serializer-describe-annotation-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/4b2e59962c847b8aaf5462d4ad119703f278696d206fffbbdf52f6a0bd974266/68747470733a2f2f706f7365722e707567782e6f72672f676f6c6c756d73662f73657269616c697a65722d64657363726962652d616e6e6f746174696f6e2d62756e646c652f762f756e737461626c653f)](https://packagist.org/packages/gollumsf/serializer-describe-annotation-bundle)[![Discord](https://camo.githubusercontent.com/e2ea9d7fb91494f17c7c76925e006e2ad2d7586fa54f500364bddda1520eecb1/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3637313734313934343134393537333638373f636f6c6f723d707572706c65266c6162656c3d646973636f7264)](https://discord.gg/xMBc5SQ)

Add class annotation for describe serializer property

Installation:
-------------

[](#installation)

```
composer require gollumsf/serializer-describe-annotation-bundle
```

### config/bundles.php

[](#configbundlesphp)

```
return [
    // [ ... ]
    GollumSF\SerializerDescribeAnnotationBundle\GollumSFSerializerDescribeAnnotationBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

```
use GollumSF\SerializerDescribeAnnotationBundle\Attribute\SerializerDescribe;

class EntityParent {
	private $proprtyA;
}

#[SerializerDescribe([
	'propertyA' => [
		'groups' => [
 			'group_1', 'group_2'
 		]
	],
	'propertyB' => [
 		'serializedName' => 'new_name',
 		'maxDepth' => 2
 	]
])]
class EntityChild extends EntityParent {
    private $propretyB;
}
```

```
use GollumSF\SerializerDescribeAnnotationBundle\Annotation\SerializerDescribe;

class EntityParent {
	private $propertyA;
}

/**
 * @SerializerDescribe({
 * 	"propertyA" = {
 *		"groups" = {
 * 			"group_1", "group_2"
 * 		}
 *	},
 * 	"propertyB" = {
 *		"serializedName" = "new_name",
 *		"maxDepth" = 2
 *	}
 * })
 */
class EntityChild extends EntityParent {
	private $propertyB;
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

5

Last Release

1059d ago

Major Versions

v1.0.2 → v2.0.02023-06-17

PHP version history (2 changes)v1.0.0PHP &gt;=7.2

v1.0.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6690bb36165854e1db86762d56c22351ff844b12f59e5c91993a6d793f098cfb?d=identicon)[Smeagolworms4](/maintainers/Smeagolworms4)

---

Top Contributors

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

---

Tags

symfonyserializeclassannotation

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gollumsf-serializer-describe-annotation-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/gollumsf-serializer-describe-annotation-bundle/health.svg)](https://phpackages.com/packages/gollumsf-serializer-describe-annotation-bundle)
```

###  Alternatives

[presta/sitemap-bundle

A Symfony bundle that provides tools to build your application sitemap.

3929.4M28](/packages/presta-sitemap-bundle)[eprofos/user-agent-analyzer

A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating systems (Windows, MacOS, Linux, iOS, Android...), browsers (Chrome, Firefox, Safari...), and device types (Desktop, Mobile, Tablet, TV...). Supports specific version detection and includes advanced handling of special cases like WebViews and compatibility modes. Features comprehensive logging and detailed analysis results.

182.3k](/packages/eprofos-user-agent-analyzer)

PHPackages © 2026

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