PHPackages                             flux-eco/json-schema-document - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. flux-eco/json-schema-document

ActiveFlux-app[Utility &amp; Helpers](/categories/utility)

flux-eco/json-schema-document
=============================

Component for flux-capacitor apps developed by fluxlabs

1.0.1(4y ago)0644GPL-3.0-onlyPHPPHP &gt;=8.0

Since Apr 2Pushed 4y agoCompare

[ Source](https://github.com/flux-eco/json-schema-document)[ Packagist](https://packagist.org/packages/flux-eco/json-schema-document)[ Docs](https://fluxlabs.ch)[ RSS](/packages/flux-eco-json-schema-document/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (4)

flux-eco/json-schema-document
=============================

[](#flux-ecojson-schema-document)

This component is supposed to make a json document more readable by providing methods for reading certain elements via php.

help and support with the development very welcome :-)

The following example application demonstrates the usage:

Functional Usage
----------------

[](#functional-usage)

account.yaml

```
title: account
type: object
aggregateRootNames:
    - account
properties:
  personId:
    type: integer
  firstname:
    type: string
  lastname:
    type: string
  email:
    type: string
  type:
    type: string
  lastChanged:
    type: string

```

getAndPrintSchemaDocument.php

```
$schemaDocument = fluxJsonSchemaDocument\getSchemaDocument('account.yaml');
print_r($schemaDocument);

```

outputs:

```
Array
FluxEco\JsonSchemaDocument\SchemaDocument Object
(
    [schemaDocument:FluxEco\JsonSchemaDocument\SchemaDocument:private] => FluxEco\JsonSchemaDocument\Core\Domain\SchemaDocument Object
        (
            [title:FluxEco\JsonSchemaDocument\Core\Domain\SchemaDocument:private] => account
            [properties:FluxEco\JsonSchemaDocument\Core\Domain\SchemaDocument:private] => Array
                (
                    [personId] => FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject Object
                        (
                            [key:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => personId
                            [type:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => integer
                        )

                    [firstname] => FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject Object
                        (
                            [key:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => firstname
                            [type:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => string
                        )

                    [lastname] => FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject Object
                        (
                            [key:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => lastname
                            [type:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => string
                        )

                    [email] => FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject Object
                        (
                            [key:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => email
                            [type:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => string
                        )

                    [type] => FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject Object
                        (
                            [key:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => type
                            [type:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => string
                        )

                    [lastChanged] => FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject Object
                        (
                            [key:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => lastChanged
                            [type:FluxEco\JsonSchemaDocument\Core\Domain\Models\SchemaObject:private] => string
                        )

                )

        )

)

```

Contributing 💜
--------------

[](#contributing-purple_heart)

Please ...

1. ... register an account at
2. ... create pull requests 🔥

Adjustment suggestions / bug reporting 🐾
----------------------------------------

[](#adjustment-suggestions--bug-reporting-feet)

Please ...

1. ... register an account at
2. ... ask us for a Service Level Agreement:  😘
3. ... read and create issues

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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

Total

4

Last Release

1546d ago

Major Versions

0.2.0 → 1.0.02022-04-08

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/472326?v=4)[Martin Studer](/maintainers/mstuder)[@mstuder](https://github.com/mstuder)

---

Top Contributors

[![mstuder](https://avatars.githubusercontent.com/u/472326?v=4)](https://github.com/mstuder "mstuder (18 commits)")

---

Tags

flux-ecofluxlabsjson-schema-documentflux-ecofluxlabsjson-schema-document

### Embed Badge

![Health badge](/badges/flux-eco-json-schema-document/health.svg)

```
[![Health](https://phpackages.com/badges/flux-eco-json-schema-document/health.svg)](https://phpackages.com/packages/flux-eco-json-schema-document)
```

PHPackages © 2026

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