{"id":34711624,"url":"https://github.com/wizacode/php-error-proof-unserializer","last_synced_at":"2026-05-26T11:34:43.184Z","repository":{"id":40362708,"uuid":"490168284","full_name":"wizacode/php-error-proof-unserializer","owner":"wizacode","description":"Recover broken php serialized data","archived":false,"fork":false,"pushed_at":"2022-05-12T20:38:59.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-26T12:11:40.448Z","etag":null,"topics":["charset","php","recover","serialize","unserialize","utf-8"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wizacode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-09T06:54:05.000Z","updated_at":"2025-06-23T07:36:37.000Z","dependencies_parsed_at":"2022-08-09T18:11:59.662Z","dependency_job_id":null,"html_url":"https://github.com/wizacode/php-error-proof-unserializer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/wizacode/php-error-proof-unserializer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizacode%2Fphp-error-proof-unserializer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizacode%2Fphp-error-proof-unserializer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizacode%2Fphp-error-proof-unserializer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizacode%2Fphp-error-proof-unserializer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wizacode","download_url":"https://codeload.github.com/wizacode/php-error-proof-unserializer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wizacode%2Fphp-error-proof-unserializer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33519134,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["charset","php","recover","serialize","unserialize","utf-8"],"created_at":"2025-12-25T00:21:24.765Z","updated_at":"2026-05-26T11:34:43.179Z","avatar_url":"https://github.com/wizacode.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP error proof unserializer\n\n## Intro\n\n```shell\nNotice:  unserialize(): Error at offset ... of ... bytes ...\n```\n\nYou can try this to unserialize a corrupted serialized string.\n\n## Usage\n\n```php\nuse Wizacode\\ErrorProofUnserializer\\ErrorProofUnserializer;\n\n// Attempt to unserialize a corrupted serialized string:\n\n$recoveredUnserializedData = ErrorProofUnserializer::process($brokenSerializedString);\n\n// Or only fix the serialized string:\n\n$fixedSerializedData = ErrorProofUnserialize::fix($brokenSerializedString);\n```\n\nP.S.: Don't record php serialized data in a RDBMS (or use   at least a binary safe storage type)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwizacode%2Fphp-error-proof-unserializer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwizacode%2Fphp-error-proof-unserializer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwizacode%2Fphp-error-proof-unserializer/lists"}