{"id":18753157,"url":"https://github.com/swordev/php-unserialize-js","last_synced_at":"2025-11-28T07:30:15.441Z","repository":{"id":57163989,"uuid":"306283419","full_name":"swordev/php-unserialize-js","owner":"swordev","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-22T10:21:41.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-16T00:33:23.158Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/swordev.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":"2020-10-22T09:12:47.000Z","updated_at":"2022-04-11T08:35:58.000Z","dependencies_parsed_at":"2022-09-01T03:01:29.503Z","dependency_job_id":null,"html_url":"https://github.com/swordev/php-unserialize-js","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordev%2Fphp-unserialize-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordev%2Fphp-unserialize-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordev%2Fphp-unserialize-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordev%2Fphp-unserialize-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swordev","download_url":"https://codeload.github.com/swordev/php-unserialize-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239644163,"owners_count":19673578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T17:24:33.965Z","updated_at":"2025-11-28T07:30:13.381Z","avatar_url":"https://github.com/swordev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-unserialize-js\n\nPHP [unserialize](https://www.php.net/manual/es/function.unserialize.php) function for JavaScript.\n\n## Installation\n\n```bash\nnpm install @swordev/php-unserialize\n```\n\n## Usage\n\n```typescript\nimport { unserialize } from \"@swordev/php-unserialize\"\n\nunserialize(`key|s:11:\"hello world\";`) // { key: \"hello world\" }\n```\n\n## Contributing\n\nTo contribute to the project, follow these steps:\n\n1. Fork this repository.\n2. Create a branch: `git checkout -b \u003cbranch_name\u003e`.\n3. Make your changes and check them: `npm run prepare`.\n4. Commit your changes: `git commit -m '\u003ccommit_message\u003e'`.\n5. Push to the original branch: `git push origin \u003cbranch_name\u003e`.\n6. Create the pull request.\n\nAlternatively see the GitHub documentation on [creating a pull request](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).\n\n## Forked project\n\nThis project was forked from [node-php-session-unserialize](https://github.com/ALiangLiang/node-php-session-unserialize) because it had bugs ([ed06e76](https://github.com/swordev/php-unserialize-js/commit/ed06e76b74eec9ee1ea935269a5934d86705f8ca), [7fa1b48](https://github.com/swordev/php-unserialize-js/commit/7fa1b48a0723063a0b2d414b7f035a7ee1465a65)) and it was not being maintained.\n\n## License\n\nDistributed under the MIT License. See LICENSE for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordev%2Fphp-unserialize-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswordev%2Fphp-unserialize-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordev%2Fphp-unserialize-js/lists"}