PHPackages                             wookieb/zorro-data-schema - 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. wookieb/zorro-data-schema

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

wookieb/zorro-data-schema
=========================

Tool to convert objects to arrays and vice versa according to data schema

0.2(12y ago)319[1 issues](https://github.com/wookieb/zorro-data-schema/issues)MITPHPPHP &gt;=5.3.3

Since Aug 30Pushed 12y ago2 watchersCompare

[ Source](https://github.com/wookieb/zorro-data-schema)[ Packagist](https://packagist.org/packages/wookieb/zorro-data-schema)[ RSS](/packages/wookieb-zorro-data-schema/feed)WikiDiscussions master Synced today

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

Zorro Data Schema
=================

[](#zorro-data-schema)

[![Build Status](https://camo.githubusercontent.com/0ed65731933c6508cc67df3a1d5b092a60ae2b8952e135f2c6ff765c6d446301/68747470733a2f2f7472617669732d63692e6f72672f776f6f6b6965622f7a6f72726f2d646174612d736368656d612e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/wookieb/zorro-data-schema)Tool to convert objects to arrays and vice versa according to data schema

Use cases
---------

[](#use-cases)

- Retrieving and sending data to many environments
- REST API
- Serialization layer for json and other formats

Example
-------

[](#example)

Just run

```
php example/test.php

```

Example result

```
Raw data
Array
(
    [name] => Łukasz
    [registrationDate] => 1123818123
    [status] => ACTIVE
    [addresses] => Array
        (
            [0] => Array
                (
                    [street] => Sportowa
                    [city] => Gdynia
                )

            [1] => Array
                (
                    [street] => Zamkowa
                    [city] => Gdańsk
                )

        )

)

Transformed to "User" type:
User Object
(
    [name:User:private] => Łukasz
    [registrationDate:User:private] => DateTime Object
        (
            [date] => 2005-08-12 03:42:03
            [timezone_type] => 1
            [timezone] => +00:00
        )

    [status:User:private] => 1
    [addresses:User:private] => Array
        (
            [0] => Address Object
                (
                    [street:Address:private] => Sportowa
                    [city:Address:private] => Gdynia
                )

            [1] => Address Object
                (
                    [street:Address:private] => Zamkowa
                    [city:Address:private] => Gdańsk
                )

        )

)

Extracted data from object of "User" type:
Array
(
    [name] => Łukasz
    [registrationDate] => 2005-08-12T03:42:03+0000
    [status] => ACTIVE
    [addresses] => Array
        (
            [0] => Array
                (
                    [street] => Sportowa
                    [city] => Gdynia
                )

            [1] => Array
                (
                    [street] => Zamkowa
                    [city] => Gdańsk
                )

        )

)

```

Documentation
-------------

[](#documentation)

[see documentation](docs/getting_started.md)

###  Health Score

21

↓

LowBetter than 19% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

4618d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5596087fec711d58384b3d8f8d80e71f49f5a4186a67b14fcf2fc8462924289b?d=identicon)[wookieb](/maintainers/wookieb)

---

Top Contributors

[![wookieb](https://avatars.githubusercontent.com/u/542596?v=4)](https://github.com/wookieb "wookieb (23 commits)")

---

Tags

schemaserializationdeserializationdata-schema

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wookieb-zorro-data-schema/health.svg)

```
[![Health](https://phpackages.com/badges/wookieb-zorro-data-schema/health.svg)](https://phpackages.com/packages/wookieb-zorro-data-schema)
```

###  Alternatives

[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M624](/packages/jms-serializer-bundle)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M848](/packages/jms-serializer)[flix-tech/avro-serde-php

A library to serialize and deserialize Avro records making use of the confluent schema registry

674.0M17](/packages/flix-tech-avro-serde-php)

PHPackages © 2026

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