PHPackages                             best-it/commercetools-message-serializer - 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. best-it/commercetools-message-serializer

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

best-it/commercetools-message-serializer
========================================

Serializer for CommerceTools messages

0.0.11(5y ago)08.7kMITPHPPHP ^7.1.3CI failing

Since Jun 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/bestit/commercetools-message-serializer)[ Packagist](https://packagist.org/packages/best-it/commercetools-message-serializer)[ Docs](https://bestit-online.de)[ RSS](/packages/best-it-commercetools-message-serializer/feed)WikiDiscussions master Synced yesterday

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

Just an very simple serializer for symfony messenger and CommerceTools messages.

### Step 1: Add package

[](#step-1-add-package)

`$ composer require best-it/commercetools-message-serializer`

### Step 2: Create service

[](#step-2-create-service)

```
# services.yaml

services:
    BestIt\Messenger\CommerceToolsSerializer:
        class: BestIt\Messenger\CommerceToolsSerializer
```

### Step 3: Use service

[](#step-3-use-service)

```
# messenger.yaml

framework:
    messenger:
        serializer:
            default_serializer: 'BestIt\Messenger\CommerceToolsSerializer'
```

Every message has a header parameter `X-CommerceTools-Message` which contains the full qualified class name of the CommerceTools message (e.g.: `Commercetools\Core\Model\Message\OrderCreatedMessage`).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.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 ~42 days

Recently: every ~23 days

Total

11

Last Release

2101d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/acc5af332f2a79dedb5aea83c3b4c2665d99fd2c14743fd0c2a3d70ecf0b7859?d=identicon)[best-it](/maintainers/best-it)

---

Top Contributors

[![migo315](https://avatars.githubusercontent.com/u/13180135?v=4)](https://github.com/migo315 "migo315 (13 commits)")[![bestit-el-bardan](https://avatars.githubusercontent.com/u/24458969?v=4)](https://github.com/bestit-el-bardan "bestit-el-bardan (3 commits)")[![mKnoop](https://avatars.githubusercontent.com/u/6775586?v=4)](https://github.com/mKnoop "mKnoop (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/best-it-commercetools-message-serializer/health.svg)

```
[![Health](https://phpackages.com/badges/best-it-commercetools-message-serializer/health.svg)](https://phpackages.com/packages/best-it-commercetools-message-serializer)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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