2017 © Pedro Peláez
 

library unserialize-fix

PHP Unserialize Fixer

image

mikegarde/unserialize-fix

PHP Unserialize Fixer

  • Monday, September 12, 2016
  • by MikeGarde
  • Repository
  • 1 Watchers
  • 1 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 11 % Grown

The README.md

Unserialize Fix

PHP Unserialize Fixer, (*1)

The best way to use serialize is to use json_encode, but when the guy before you used serialize use this unserialize instead., (*2)

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

Install

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

No need to "use" if you are already including "autoload.php", (*3)

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

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

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, (*4)

The Versions

12/09 2016

dev-master

9999999-dev

PHP Unserialize Fixer

  Sources   Download

GPL-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Mike Garde

php

06/07 2016

0.1.01

0.1.01.0

PHP Unserialize Fixer

  Sources   Download

GPL-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Mike Garde

php

06/07 2016

0.1.0

0.1.0.0

PHP Unserialize Fixer

  Sources   Download

GPL-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Mike Garde

php

06/07 2016

dev-dev

dev-dev

PHP Unserialize Fixer

  Sources   Download

GPL-3.0

The Requires

  • php >=5.4.0

 

The Development Requires

by Mike Garde

php