PHPackages                             vitek-dev/nette-json-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. vitek-dev/nette-json-serializer

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

vitek-dev/nette-json-serializer
===============================

JSON-preconfigured symfony/serializer integration into Nette

v1.2.0(1y ago)0273MITPHPCI passing

Since Aug 4Pushed 1y agoCompare

[ Source](https://github.com/vitek-dev/nette-json-serializer)[ Packagist](https://packagist.org/packages/vitek-dev/nette-json-serializer)[ RSS](/packages/vitek-dev-nette-json-serializer/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (7)Versions (5)Used By (0)

JSON serializer
===============

[](#json-serializer)

Preconfigured symfony/serializer for Nette Framework.

Features
--------

[](#features)

- Serialize and deserialize PHP objects to/from JSON
- Handles nested objects and arrays (via PHPDoc annotations)
- Enums support
- Discriminators
- Syntax sugar for Guzzle: Ability to directly deserialize MessageInterface/StreamInterface

Requirements
------------

[](#requirements)

- PHP 8.4 or higher

Installation
------------

[](#installation)

```
composer require vitek-dev/nette-json-serializer
```

```
extensions:
    vd.serializer: VitekDev\Serializer\DI\JsonSerializerExtension
```

Known issues
------------

[](#known-issues)

### Class with no properties

[](#class-with-no-properties)

Deserialization of class with no properties will end up with NotNormalizableValueException

```
class Garage {
    /**
     * @param Car[] $cars
     */
    public function __construct(
        public array $cars,
    ) {}
}

class Car {
    // No properties
}
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance50

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Total

4

Last Release

365d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11147846?v=4)[Daniel Vítek](/maintainers/vitek-dev)[@vitek-dev](https://github.com/vitek-dev)

---

Top Contributors

[![vitek-dev](https://avatars.githubusercontent.com/u/11147846?v=4)](https://github.com/vitek-dev "vitek-dev (6 commits)")

---

Tags

symfonynetteserializer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vitek-dev-nette-json-serializer/health.svg)

```
[![Health](https://phpackages.com/badges/vitek-dev-nette-json-serializer/health.svg)](https://phpackages.com/packages/vitek-dev-nette-json-serializer)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1617.3k16](/packages/2lenet-crudit-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k52.2M378](/packages/api-platform-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k6.0M777](/packages/sylius-sylius)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.9M535](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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