{"id":40525426,"url":"https://github.com/php-edifact/untdid-parser","last_synced_at":"2026-01-20T21:32:33.601Z","repository":{"id":73756235,"uuid":"68545388","full_name":"php-edifact/untdid-parser","owner":"php-edifact","description":"Parse and convert to XML UN/EDIFACT Directories","archived":false,"fork":false,"pushed_at":"2025-11-07T14:10:38.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-07T16:12:17.161Z","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":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-edifact.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-09-18T20:25:26.000Z","updated_at":"2025-11-07T14:10:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"7829275a-d9e3-4f1b-a337-9d7d161c48b4","html_url":"https://github.com/php-edifact/untdid-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/php-edifact/untdid-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-edifact%2Funtdid-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-edifact%2Funtdid-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-edifact%2Funtdid-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-edifact%2Funtdid-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-edifact","download_url":"https://codeload.github.com/php-edifact/untdid-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-edifact%2Funtdid-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28614590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-20T21:32:33.551Z","updated_at":"2026-01-20T21:32:33.595Z","avatar_url":"https://github.com/php-edifact.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# untdid-parser\nParse and convert UN/EDIFACT Directories to XML. UNTDID stands for \"United Nations Trade Data Interchange Directory\".\n\nExample:\n\n```php\n$p = new EDMDParser('D00A/EDMD/CODECO_D.00A');\necho $p-\u003egetXML();\n```\n\nThe runner.php automates data extraction for all documents in a single zipped directory on a best effort basis:\n\n```\nphp runner.php 99B\n```\n\n```\nfor i in {97..99}; do\nphp runner.php ${i}A; \nphp runner.php ${i}B; \ndone\nfor i in {0..9}; do\nphp runner.php 0${i}A; \nphp runner.php 0${i}B; \ndone\nphp runner.php 01C; \nfor i in {10..22}; do\nphp runner.php ${i}A; \nphp runner.php ${i}B; \ndone\n```\n\n\nSupported documents:\n* Message type directory Batch (EDMD)\n* Segment directory Batch (EDSD)\n* Composite data element directory Batch (EDCD)\n* Data element directory (EDED)\n* Code list (UNCL)\n* Service codes (UNSL for v3, SL for v4)\n\nThe Directories are released on the UNECE website: https://unece.org/trade/uncefact/unedifact/download\n\nThe service codes instead are released on the ISO Joint Working Group website: http://www.gefeg.com/jswg/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-edifact%2Funtdid-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-edifact%2Funtdid-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-edifact%2Funtdid-parser/lists"}