PHPackages                             varaey/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. varaey/serializer

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

varaey/serializer
=================

This is a php module. It convert object arguments to few formats, like json, xml, yaml

1.0.0(7y ago)07BSD-3-ClausePHP

Since Apr 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/varaey/serealizer)[ Packagist](https://packagist.org/packages/varaey/serializer)[ RSS](/packages/varaey-serializer/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Serialize library
=================

[](#serialize-library)

This library convert Object props to needed *format*.

**Like**:

- JSON
- Yaml
- XML

### How to use:

[](#how-to-use)

1. do next command (in terminal) in current directory (for install needed libraries)

```
composer install

```

2. for start test, use next command (in terminal) in current directory

```
php tests/start.php

```

### Description

[](#description)

For converting Object to **JSON**:

```
