PHPackages                             mikegarde/unserialize-fix - 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. mikegarde/unserialize-fix

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

mikegarde/unserialize-fix
=========================

PHP Unserialize Fixer

0.1.01(9y ago)153GPL-3.0PHPPHP &gt;=5.4.0

Since Jul 6Pushed 9y agoCompare

[ Source](https://github.com/MikeGarde/unserialize-fix)[ Packagist](https://packagist.org/packages/mikegarde/unserialize-fix)[ RSS](/packages/mikegarde-unserialize-fix/feed)WikiDiscussions master Synced today

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

Unserialize Fix
===============

[](#unserialize-fix)

PHP Unserialize Fixer

The best way to use serialize is to use json\_encode, but when the guy before you used serialize use this unserialize instead.

```
$string = json_encode($array);
$array  = json_decode($string);

```

Install
-------

[](#install)

```
composer require "mikegarde/unserialize-fix:0.1.*"

```

No need to "use" if you are already including "autoload.php"

```
require __DIR__ . '/../vendor/autoload.php';

$fixed = \unserialize\fix($string);

```

Notes
-----

[](#notes)

I through this together so that I could work on some old logs and it is not 100% however was able to unserialize my logs. When time allows I will finish this project which will probably include new names so make sure you stick to 0.1.\* and check here before upgrading to 0.2

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Total

2

Last Release

3645d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1537877?v=4)[Mike Garde](/maintainers/MikeGarde)[@MikeGarde](https://github.com/MikeGarde)

---

Top Contributors

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

---

Tags

php

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mikegarde-unserialize-fix/health.svg)

```
[![Health](https://phpackages.com/badges/mikegarde-unserialize-fix/health.svg)](https://phpackages.com/packages/mikegarde-unserialize-fix)
```

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21422.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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