PHPackages                             christophedlr/pjsonobject - 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. christophedlr/pjsonobject

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

christophedlr/pjsonobject
=========================

pjsonobject is an library for manage JSON document to PHP object and PHP object to JSON document

1.0.0(6y ago)05[1 PRs](https://github.com/Christophedlr/pjsonobject/pulls)MITPHPPHP ^7.2|^7.3|^7.4CI failing

Since Dec 20Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Christophedlr/pjsonobject)[ Packagist](https://packagist.org/packages/christophedlr/pjsonobject)[ RSS](/packages/christophedlr-pjsonobject/feed)WikiDiscussions master Synced 6d ago

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

PJsonObject library
===================

[](#pjsonobject-library)

[![Build Status](https://camo.githubusercontent.com/5f239858a1d34777b5a0ddc57d5881cea8acce9695ef8f6b5929a096500d9bd5/68747470733a2f2f7472617669732d63692e636f6d2f4368726973746f706865646c722f706a736f6e6f626a6563742e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Christophedlr/pjsonobject)

Install
-------

[](#install)

Type `composer require christophedlr/pjsonobject` or clone the repository.

Usage
-----

[](#usage)

**jsonToObject** method requiered two arguments : JSON document and classname. This method return a new classname object containing the JSON document.

**objectToJson** method requiered one argument : a class containing the informations. This method return a JSON document contaning the content of class.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance53

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2341d ago

### Community

Maintainers

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

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/christophedlr-pjsonobject/health.svg)

```
[![Health](https://phpackages.com/badges/christophedlr-pjsonobject/health.svg)](https://phpackages.com/packages/christophedlr-pjsonobject)
```

###  Alternatives

[mtdowling/jmespath.php

Declaratively specify how to extract elements from a JSON document

2.0k472.8M135](/packages/mtdowling-jmespathphp)[opis/closure

A library that can be used to serialize closures (anonymous functions) and arbitrary data.

2.6k230.0M284](/packages/opis-closure)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[michelf/php-markdown

PHP Markdown

3.5k52.4M345](/packages/michelf-php-markdown)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)

PHPackages © 2026

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