PHPackages                             autumndev/jms-serializer-carbon - 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. autumndev/jms-serializer-carbon

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

autumndev/jms-serializer-carbon
===============================

Carbon Serialization or JSM Serializer

4.0(1mo ago)892.6k↓86.1%7GPL-3.0-or-laterPHPPHP ^8.2 || ^8.3 || ^8.4CI passing

Since Jul 7Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/scott-davidjones/jms-serializer-carbon)[ Packagist](https://packagist.org/packages/autumndev/jms-serializer-carbon)[ RSS](/packages/autumndev-jms-serializer-carbon/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (5)Versions (15)Used By (0)

jms-serializer-carbon
=====================

[](#jms-serializer-carbon)

Carbon Serializer for the JMS Serializer library

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

[](#installation)

To instal and use the package please install as per the [JMS documentation](http://jmsyst.com/libs/serializer/master/handlers):

```
$builder
    ->configureHandlers(function(\JMS\Serializer\Handler\HandlerRegistry $registry) {
        $registry->registerSubscribingHandler(new \AutumnDev\JMS\CarbonHandler());
    })
;
```

Symfony2
========

[](#symfony2)

You will need to register a new service in order to utilise the Carbon serilisation:

```
carbon_handler:
        class: AutumnDev\JMS\CarbonHandler
        tags:
            - { name: jms_serializer.subscribing_handler }
```

Usage
=====

[](#usage)

In order to use the serialisation you must tag your entities thusly:

```
    /**
    * @Type("Carbon")
    */
    public $date;
```

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 56.7% 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 ~269 days

Recently: every ~486 days

Total

13

Last Release

57d ago

Major Versions

v1.1 → v2.0-rc2018-12-14

1.2.1 → v3.02021-01-07

v3.3 → 4.0.x-dev2026-05-08

PHP version history (2 changes)v3.0PHP ^7.1 || ^8.0

4.0PHP ^8.2 || ^8.3 || ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/110529352?v=4)[autumndev](/maintainers/autumndev)[@AutumnDev](https://github.com/AutumnDev)

![](https://www.gravatar.com/avatar/42509253df7c8d2a686cb6893fbd1efa7f31afe54593269f85bee9f5fc526c5c?d=identicon)[NeilWhitworth](/maintainers/NeilWhitworth)

---

Top Contributors

[![scott-davidjones](https://avatars.githubusercontent.com/u/547193?v=4)](https://github.com/scott-davidjones "scott-davidjones (17 commits)")[![lkck24](https://avatars.githubusercontent.com/u/17538220?v=4)](https://github.com/lkck24 "lkck24 (6 commits)")[![racinmat](https://avatars.githubusercontent.com/u/5525771?v=4)](https://github.com/racinmat "racinmat (2 commits)")[![jdreesen](https://avatars.githubusercontent.com/u/424602?v=4)](https://github.com/jdreesen "jdreesen (2 commits)")[![lukadschaak](https://avatars.githubusercontent.com/u/2377363?v=4)](https://github.com/lukadschaak "lukadschaak (1 commits)")[![KrisHarris](https://avatars.githubusercontent.com/u/3941803?v=4)](https://github.com/KrisHarris "KrisHarris (1 commits)")[![NeilWhitworth](https://avatars.githubusercontent.com/u/6729769?v=4)](https://github.com/NeilWhitworth "NeilWhitworth (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/autumndev-jms-serializer-carbon/health.svg)

```
[![Health](https://phpackages.com/badges/autumndev-jms-serializer-carbon/health.svg)](https://phpackages.com/packages/autumndev-jms-serializer-carbon)
```

###  Alternatives

[spatie/laravel-sitemap

Create and generate sitemaps with ease

2.6k16.6M147](/packages/spatie-laravel-sitemap)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M989](/packages/statamic-cms)[easybill/zugferd-php

ZUGFeRD PHP SDK (Factur-X, XRechnung) - Convert PHP Objects to XML and back.

101328.4k11](/packages/easybill-zugferd-php)[bitrix24/b24phpsdk

An official PHP library for the Bitrix24 REST API

10244.2k5](/packages/bitrix24-b24phpsdk)[pimcore/studio-backend-bundle

Pimcore Studio Backend Bundle

20203.9k22](/packages/pimcore-studio-backend-bundle)[friendsofcxml/cxml-php

PHP Implementation of cXML Standard

17155.6k9](/packages/friendsofcxml-cxml-php)

PHPackages © 2026

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