{"id":26920694,"url":"https://github.com/baikho/belgian-address-parser-php","last_synced_at":"2026-02-17T11:01:18.260Z","repository":{"id":284178286,"uuid":"954073141","full_name":"baikho/belgian-address-parser-php","owner":"baikho","description":"A PHP Parser for Belgian addresses","archived":false,"fork":false,"pushed_at":"2025-03-25T20:48:51.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"1.x","last_synced_at":"2026-01-15T15:44:43.448Z","etag":null,"topics":["address","address-parser","addresses","belgium","parser","php","php-library","php8"],"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/baikho.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}},"created_at":"2025-03-24T14:20:11.000Z","updated_at":"2025-03-25T23:09:02.000Z","dependencies_parsed_at":"2025-03-24T15:53:07.323Z","dependency_job_id":"4c208611-d42d-4d87-9675-f7057559900f","html_url":"https://github.com/baikho/belgian-address-parser-php","commit_stats":null,"previous_names":["baikho/belgian-address-parser-php"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/baikho/belgian-address-parser-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baikho%2Fbelgian-address-parser-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baikho%2Fbelgian-address-parser-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baikho%2Fbelgian-address-parser-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baikho%2Fbelgian-address-parser-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baikho","download_url":"https://codeload.github.com/baikho/belgian-address-parser-php/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baikho%2Fbelgian-address-parser-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29541119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T08:11:05.436Z","status":"ssl_error","status_checked_at":"2026-02-17T08:09:38.860Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["address","address-parser","addresses","belgium","parser","php","php-library","php8"],"created_at":"2025-04-01T22:39:37.750Z","updated_at":"2026-02-17T11:01:18.245Z","avatar_url":"https://github.com/baikho.png","language":"PHP","readme":"# Belgian Address Parser PHP\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/baikho/belgian-address-parser-php.svg)](https://packagist.org/packages/baikho/belgian-address-parser-php)\n[![Total Downloads](https://img.shields.io/packagist/dt/baikho/belgian-address-parser-php.svg)](https://packagist.org/packages/baikho/belgian-address-parser-php)\n[![MIT Licensed](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/baikho/belgian-address-parser-php.svg)](https://github.com/baikho/belgian-address-parser-php/issues)\n[![GitHub stars](https://img.shields.io/github/stars/baikho/belgian-address-parser-php.svg)](https://github.com/baikho/belgian-address-parser-php/stargazers)\n\nA Belgian address parser library in PHP.\n\n## Requirements\n\n- PHP 8.1 or higher\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require baikho/belgian-address-parser-php\n```\n## Usage\n\n```php\n// Create a parser instance\n$parser = new \\Baikho\\BelgianAddressParser\\Parser();\n\n// Parse an address\n$parsed = $parser-\u003eparse('Andreas Vesaliusstraat 47, 3000 Leuven, België');\n\n// Output the parsed components\nprint_r($parsed);\nArray\n(\n    [recipient] =\u003e \n    [street] =\u003e Andreas Vesaliusstraat\n    [number] =\u003e 47\n    [box] =\u003e \n    [postal_code] =\u003e 3000\n    [city] =\u003e Leuven\n    [country] =\u003e België\n)\n\n// Validate the address\n$validation = $parser-\u003evalidate($parsed);\nif ($validation['valid']) {\n    echo \"Address is valid!\\n\";\n} else {\n    echo \"Address has issues: \" . implode(', ', $validation['errors']) . \"\\n\";\n}\n\n// Format the address back to string\n$formatted = $parser-\u003eformat($parsed);\necho $formatted;\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaikho%2Fbelgian-address-parser-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaikho%2Fbelgian-address-parser-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaikho%2Fbelgian-address-parser-php/lists"}