PHPackages                             fitbug/symfony-yaml-serializer-encoder-decoder - 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. fitbug/symfony-yaml-serializer-encoder-decoder

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

fitbug/symfony-yaml-serializer-encoder-decoder
==============================================

A encoder and decoder for Yaml for the Symfony Serializer Component.

v0.1.1(9y ago)3286.7k↑160.7%3MITPHP

Since Aug 12Pushed 8y ago7 watchersCompare

[ Source](https://github.com/fitbug/symfony-yaml-serializer-encoder-decoder)[ Packagist](https://packagist.org/packages/fitbug/symfony-yaml-serializer-encoder-decoder)[ RSS](/packages/fitbug-symfony-yaml-serializer-encoder-decoder/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (3)

Symfony Yaml Serializer Encoder/Decoder
=======================================

[](#symfony-yaml-serializer-encoderdecoder)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b0081c13a2238092b47cc7421d8e9a528f6ee4ea8d6227629422fddbdd67fd95/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6669746275672f73796d666f6e792d79616d6c2d73657269616c697a65722d656e636f6465722d6465636f6465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/fitbug/symfony-yaml-serializer-encoder-decoder/?branch=master)[![Build Status](https://camo.githubusercontent.com/bfc0b6fb9be4d126957dd132ec35ce4552864178959d18e1b0a16808382a2558/68747470733a2f2f7472617669732d63692e6f72672f6669746275672f73796d666f6e792d79616d6c2d73657269616c697a65722d656e636f6465722d6465636f6465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/fitbug/symfony-yaml-serializer-encoder-decoder)[![Dependency Status](https://camo.githubusercontent.com/86d0e5d93c84256aa1edc28b8b388e56852ab472c50b0cf7fd3e2316cf7c43d4/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3537616462313731626430636661303032653133376163342f62616467652e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/user/projects/57adb171bd0cfa002e137ac4)[![Latest Stable Version](https://camo.githubusercontent.com/df8b00d5bb044f3b1d75b4e3e610ce5c062db28eef7132d7a7dac205141708b3/68747470733a2f2f706f7365722e707567782e6f72672f6669746275672f73796d666f6e792d79616d6c2d73657269616c697a65722d656e636f6465722d6465636f6465722f762f737461626c65)](https://packagist.org/packages/fitbug/symfony-yaml-serializer-encoder-decoder)[![License](https://camo.githubusercontent.com/a030a6f078a19c6d7446bd9b88c237450ea32338df64b85279ae222b1148955e/68747470733a2f2f706f7365722e707567782e6f72672f6669746275672f73796d666f6e792d79616d6c2d73657269616c697a65722d656e636f6465722d6465636f6465722f6c6963656e7365)](https://packagist.org/packages/fitbug/symfony-yaml-serializer-encoder-decoder)

This package is a Yaml Encoder and Decoder for the [Symfony Serializer component](https://symfony.com/doc/current/components/serializer.html).

Getting Started
---------------

[](#getting-started)

### Prerequisities

[](#prerequisities)

You'll need to install:

- PHP (Minimum 5.6)

### Installing

[](#installing)

```
composer require fitbug/symfony-yaml-serializer-encoder-decoder
```

Usage
-----

[](#usage)

```
$encoders        = [new YamlEncoder(new YamlEncode(), new YamlDecode())];
$normalizers     = NormalizerFactory::create();
$serializer      = new Serializer($normalizers, $encoders);

```

See the [Symfony Serializer component](https://symfony.com/doc/current/components/serializer.html).

Running the tests
-----------------

[](#running-the-tests)

First checkout the library, then run

```
composer install
```

### Coding Style

[](#coding-style)

We follow PSR2, and also enforce PHPDocs on all functions. To run the tests for coding style violations

```
vendor/bin/phpcs -p --standard=psr2 src/
```

### Unit tests

[](#unit-tests)

We use PHPSpec for unit tests. To run the unit tests

```
vendor/bin/phpspec run
```

Contributing
------------

[](#contributing)

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/fitbug/symfony-yaml-serializer-encoder-decoder/tags).

Authors
-------

[](#authors)

See the list of [contributors](https://github.com/fitbug/symfony-yaml-serializer-encoder-decoder/contributors) who participated in this project.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

3613d ago

### Community

Maintainers

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

---

Top Contributors

[![PurpleBooth](https://avatars.githubusercontent.com/u/133327?v=4)](https://github.com/PurpleBooth "PurpleBooth (3 commits)")

---

Tags

symfonyyamlserializerencodersymfony-serializer

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/fitbug-symfony-yaml-serializer-encoder-decoder/health.svg)

```
[![Health](https://phpackages.com/badges/fitbug-symfony-yaml-serializer-encoder-decoder/health.svg)](https://phpackages.com/packages/fitbug-symfony-yaml-serializer-encoder-decoder)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k13](/packages/2lenet-crudit-bundle)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M420](/packages/drupal-core-recommended)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)

PHPackages © 2026

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