{"id":23842365,"url":"https://github.com/php-toolkit/data-parser","last_synced_at":"2025-02-22T05:23:31.430Z","repository":{"id":57071700,"uuid":"127128534","full_name":"php-toolkit/data-parser","owner":"php-toolkit","description":"simple data parser","archived":false,"fork":false,"pushed_at":"2019-06-24T14:27:12.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T18:41:33.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/php-toolkit.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}},"created_at":"2018-03-28T11:12:50.000Z","updated_at":"2023-05-21T12:38:08.000Z","dependencies_parsed_at":"2022-08-24T10:52:16.701Z","dependency_job_id":null,"html_url":"https://github.com/php-toolkit/data-parser","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-toolkit%2Fdata-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-toolkit%2Fdata-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-toolkit%2Fdata-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-toolkit%2Fdata-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-toolkit","download_url":"https://codeload.github.com/php-toolkit/data-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240129441,"owners_count":19752353,"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":"2025-01-02T18:38:20.109Z","updated_at":"2025-02-22T05:23:31.408Z","avatar_url":"https://github.com/php-toolkit.png","language":"PHP","readme":"# data parser utils\n\nsimple data parser for php\n\ndriver\n\n- json(by `json_encode`)\n- php(by `serialize`)\n- swoole(by extension `swoole_serialize`)\n- msgpack(by extension `msgpack`)\n\n## Install\n\n- composer command\n\n```bash\ncomposer require toolkit/data-parser\n```\n\n## Usage\n\n```php\n$parser = new SwooleParser();\n// $parser = new JsonParser();\n// $parser = new PhpParser();\n// $parser = new MsgPackParser();\n\n// encode\n$encoded = $parser-\u003eencode($data);\n\n// decode\n$decoded = $parser-\u003eencode($encoded);\n```\n\n## Unit testing\n\n```bash\nphpunit \n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-toolkit%2Fdata-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-toolkit%2Fdata-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-toolkit%2Fdata-parser/lists"}