{"id":20865062,"url":"https://github.com/presentkim-pm/item-serialize-utils","last_synced_at":"2026-02-23T22:52:45.748Z","repository":{"id":223448273,"uuid":"760325012","full_name":"presentkim-pm/item-serialize-utils","owner":"presentkim-pm","description":"Provides utils for (de)serialize more shorter and easier!","archived":false,"fork":false,"pushed_at":"2025-01-17T13:34:59.000Z","size":36,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T05:41:32.505Z","etag":null,"topics":[],"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/presentkim-pm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-20T07:55:56.000Z","updated_at":"2025-01-17T13:35:00.000Z","dependencies_parsed_at":"2024-12-25T07:48:21.342Z","dependency_job_id":null,"html_url":"https://github.com/presentkim-pm/item-serialize-utils","commit_stats":null,"previous_names":["presentkim-pm/item-serialize-utils"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/presentkim-pm%2Fitem-serialize-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/presentkim-pm%2Fitem-serialize-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/presentkim-pm%2Fitem-serialize-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/presentkim-pm%2Fitem-serialize-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/presentkim-pm","download_url":"https://codeload.github.com/presentkim-pm/item-serialize-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253720069,"owners_count":21952956,"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-18T05:46:41.459Z","updated_at":"2026-02-23T22:52:45.696Z","avatar_url":"https://github.com/presentkim-pm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- PROJECT BADGES --\u003e\n\u003cdiv align=\"center\"\u003e\n\n[![Poggit CI][poggit-ci-badge]][poggit-ci-url]\n[![Stars][stars-badge]][stars-url]\n[![License][license-badge]][license-url]\n\n\u003c/div\u003e\n\n\n\u003c!-- PROJECT LOGO --\u003e\n\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/presentkim-pm/item-serialize-utils/main/assets/icon.png\" alt=\"Logo\" width=\"80\" height=\"80\"/\u003e\n  \u003ch3\u003eitem-serialize-utils\u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    Provides utils for (de)serialize more shorter and easier!\n\n[View in Poggit][poggit-ci-url] · [Report a bug][issues-url] · [Request a feature][issues-url]\n\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\n\u003c!-- ABOUT THE PROJECT --\u003e\n\n## About The Project\n\n:heavy_check_mark: Provides classes for serialize item\n\n- `kim\\present\\utils\\itemserialize\\ItemSerializeUtils`\n- `kim\\present\\utils\\itemserialize\\SerializeMode`\n\n:heavy_check_mark: Provides util function for serialize item\n\n- `ItemSerializeUtils::serialize(Item $item, SerializeMode $mode = SerializeMode::BINARY) : string`\n\n:heavy_check_mark: Provides util function for deserialize item\n\n- `ItemSerializeUtils::deserialize(string $contents, SerializeMode $mode = SerializeMode::BINARY) : Item`\n\n:heavy_check_mark: Provides multiple serialize modes\n\n- `SerializeMode::BINARY` : Binary string that write by BigEndianNbtSerializer\n- `SerializeMode::BASE64` : Same as BINARY, but encoded in base64_encode()\n- `SerializeMode::HEX` : Same as BINARY, but encoded in bin2hex()\n- `SerializeMode::SNBT ` : [Stringified Named Binary Tag](https://minecraft.fandom.com/wiki/NBT_format#SNBT_format)\n  format string\n- `SerializeMode::JSON` : JSON format string\n\n\u003e **NOTE** : JSON mode is not same as `Item::legacyJsonDeserialize()`\n\n-----\n\n## Installation\n\nSee [Official Poggit Virion Documentation](https://github.com/poggit/support/blob/master/virion.md)\n\n-----\n\n## How to use?\n\nSee [Main Document](https://github.com/presentkim-pm/item-serialize-utils/blob/main/docs/README.md)\n\n-----\n\n## License\n\nDistributed under the **MIT**. See [LICENSE][license-url] for more information\n\n\n[poggit-ci-badge]: https://poggit.pmmp.io/ci.shield/presentkim-pm/item-serialize-utils/item-serialize-utils?style=for-the-badge\n\n[stars-badge]: https://img.shields.io/github/stars/presentkim-pm/item-serialize-utils.svg?style=for-the-badge\n\n[license-badge]: https://img.shields.io/github/license/presentkim-pm/item-serialize-utils.svg?style=for-the-badge\n\n[poggit-ci-url]: https://poggit.pmmp.io/ci/presentkim-pm/item-serialize-utils/item-serialize-utils\n\n[stars-url]: https://github.com/presentkim-pm/item-serialize-utils/stargazers\n\n[issues-url]: https://github.com/presentkim-pm/item-serialize-utils/issues\n\n[license-url]: https://github.com/presentkim-pm/item-serialize-utils/blob/main/LICENSE\n\n[project-icon]: https://raw.githubusercontent.com/presentkim-pm/item-serialize-utils/main/assets/icon.png\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpresentkim-pm%2Fitem-serialize-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpresentkim-pm%2Fitem-serialize-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpresentkim-pm%2Fitem-serialize-utils/lists"}