PHPackages                             spyrmp/json-serializer-deserializer - 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. spyrmp/json-serializer-deserializer

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

spyrmp/json-serializer-deserializer
===================================

Serialize php arrays to json. Deserialize json to php arrays.

v1.0.0(4y ago)0891MITPHPPHP &gt;=7.0.0

Since Jan 12Pushed 4y ago1 watchersCompare

[ Source](https://github.com/spyrmp/json-serializer-deserializer)[ Packagist](https://packagist.org/packages/spyrmp/json-serializer-deserializer)[ RSS](/packages/spyrmp-json-serializer-deserializer/feed)WikiDiscussions main Synced 1mo ago

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

Json Serializer/Deserializer for PHP
====================================

[](#json-serializerdeserializer-for-php)

This library is serializing simple php arrays to json string also deserialize json to php arrays

Install
-------

[](#install)

This project can be installed via Composer run the following command:

```
composer require spyrmp/json-serializer-deserializer
```

Usage
-----

[](#usage)

```
$json = \Spyrmp\JsonSerializerDeserializer\Json::serialize(["name" => "test_name", "lastname" => "test_lastname"]);
$deserializedJson =  \Spyrmp\JsonSerializerDeserializer\Json::deserialize('{"name":"test_name","lastname":"test_lastname"}');
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

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

1578d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/625d89fbdb862880e7d85b641c9e066f7db625dd094ecfdae252776a46f6698e?d=identicon)[spyrmp](/maintainers/spyrmp)

---

Top Contributors

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

---

Tags

jsonserializeserializerdeserializedeserializer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/spyrmp-json-serializer-deserializer/health.svg)

```
[![Health](https://phpackages.com/badges/spyrmp-json-serializer-deserializer/health.svg)](https://phpackages.com/packages/spyrmp-json-serializer-deserializer)
```

###  Alternatives

[zumba/json-serializer

Serialize PHP variables, including objects, in JSON format. Support to unserialize it too.

129743.7k13](/packages/zumba-json-serializer)[laktak/hjson

JSON for Humans. A configuration file format with relaxed syntax, fewer mistakes and more comments.

86233.7k12](/packages/laktak-hjson)[thunderer/serializard

Flexible serializer

2767.3k1](/packages/thunderer-serializard)[pmjones/throwable-properties

Copies properties of a Throwable to a serializable object.

1554.7k2](/packages/pmjones-throwable-properties)

PHPackages © 2026

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