{"id":23130048,"url":"https://github.com/yocto/yoclib-wbxml-php","last_synced_at":"2025-11-07T07:02:00.826Z","repository":{"id":57087729,"uuid":"312608622","full_name":"yocto/yoclib-wbxml-php","owner":"yocto","description":"PHP yocLib for WBXML","archived":false,"fork":false,"pushed_at":"2021-02-11T14:01:32.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T12:55:39.235Z","etag":null,"topics":["binary","composer","php","wbxml","xml","yoclib","yocto"],"latest_commit_sha":null,"homepage":"https://github.com/yocto/yoclib-wbxml-php","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yocto.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-11-13T15:11:17.000Z","updated_at":"2023-07-15T17:09:50.000Z","dependencies_parsed_at":"2022-08-24T14:00:35.083Z","dependency_job_id":null,"html_url":"https://github.com/yocto/yoclib-wbxml-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yocto/yoclib-wbxml-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yocto%2Fyoclib-wbxml-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yocto%2Fyoclib-wbxml-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yocto%2Fyoclib-wbxml-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yocto%2Fyoclib-wbxml-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yocto","download_url":"https://codeload.github.com/yocto/yoclib-wbxml-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yocto%2Fyoclib-wbxml-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270816060,"owners_count":24650748,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["binary","composer","php","wbxml","xml","yoclib","yocto"],"created_at":"2024-12-17T10:12:10.039Z","updated_at":"2025-11-07T07:01:55.780Z","avatar_url":"https://github.com/yocto.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yocLib - WBXML (PHP)\n\nThis yocLibrary enables your project to encode and decode WBXML data in PHP.\n\n## Status\n\n[![Build Status](https://travis-ci.com/yocto/yoclib-wbxml-php.svg?branch=master)](https://travis-ci.com/yocto/yoclib-wbxml-php)\n\n## Installation\n\n`composer require yocto/yoclib-wbxml`\n\n## Use\n\n### Encoding\n\n```php\nuse YOCLIB\\WBXML\\CodePages\\ExchangeActiveSync;\nuse YOCLIB\\WBXML\\WBXMLEncoder;\nuse YOCLIB\\WBXML\\WBXMLException;\n\n$xml = '\u003cFolderSync/\u003e';\n\n$codePages = ExchangeActiveSync::getCodePages();\n\n$encoder = new WBXMLEncoder($codePages);\n\ntry{\n\t$binary = $encoder-\u003eencode($xml);\n}catch(WBXMLException $e){\n\t//TODO\n}\n```\n\n## Decoding\n\n```php\nuse YOCLIB\\WBXML\\CodePages\\ExchangeActiveSync;\nuse YOCLIB\\WBXML\\WBXMLDecoder;\nuse YOCLIB\\WBXML\\WBXMLException;\n\n$binary = \"\\x03\\x01\\x6a\\x00\\x00\\xff\\xff\";\n\n$codePages = ExchangeActiveSync::getCodePages();\n\n$decoder = new WBXMLDecoder($codePages);\n\ntry{\n\t$xml = $decoder-\u003edecode($binary);\n}catch(WBXMLException $e){\n\t//TODO\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyocto%2Fyoclib-wbxml-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyocto%2Fyoclib-wbxml-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyocto%2Fyoclib-wbxml-php/lists"}