PHPackages                             olya-hryhorenko/oop\_serialize - 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. olya-hryhorenko/oop\_serialize

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

olya-hryhorenko/oop\_serialize
==============================

This is a object serializer written in OOP way.

10[1 PRs](https://github.com/OlyaHryhorenko/oop_serialize/pulls)PHPCI failing

Since Oct 17Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/OlyaHryhorenko/oop_serialize)[ Packagist](https://packagist.org/packages/olya-hryhorenko/oop_serialize)[ RSS](/packages/olya-hryhorenko-oop-serialize/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Serializer
==========

[](#serializer)

The utility to serialize objects to XML, JSON, YAML format

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

[](#installation)

```
$ composer create-project olya-hryhorenko/oop_serialize
```

Usage
-----

[](#usage)

Example of implementing library

```
require_once __DIR__ . '/../vendor/autoload.php';

use App\Serializer;
use App\JSONSerializer;
use App\XMLSerializer;
use App\YAMLSerialier;

/**
 * test array
 */
$test = (object) array('this'=> 'that', 'whom'=> 'who');

$new_yaml_serialize = new Serializer(new YAMLSerialier( $test));
echo 'YAML string '.$new_yaml_serialize->serialize();

$new_xml_serialize = new Serializer(new XMLSerializer($test));
echo 'XML serialize '.$new_xml_serialize->serialize();

$new_json_serialize = new Serializer(new JSONSerializer($test));
echo 'JSON serialize '.$new_json_serialize->serialize();
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance50

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![OlyaHryhorenko](https://avatars.githubusercontent.com/u/10911793?v=4)](https://github.com/OlyaHryhorenko "OlyaHryhorenko (10 commits)")

### Embed Badge

![Health badge](/badges/olya-hryhorenko-oop-serialize/health.svg)

```
[![Health](https://phpackages.com/badges/olya-hryhorenko-oop-serialize/health.svg)](https://phpackages.com/packages/olya-hryhorenko-oop-serialize)
```

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19037.7M41](/packages/mck89-peast)[karriere/json-decoder

JsonDecoder implementation that allows you to convert your JSON data into PHP class objects

140439.4k12](/packages/karriere-json-decoder)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9642.0k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

46143.1k6](/packages/jstewmc-rtf)[json-mapper/laravel-package

The JsonMapper package for Laravel

25188.9k3](/packages/json-mapper-laravel-package)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)

PHPackages © 2026

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