{"id":20681518,"url":"https://github.com/api-postcode/php-client","last_synced_at":"2025-10-11T07:37:24.361Z","repository":{"id":21573210,"uuid":"93266120","full_name":"api-postcode/php-client","owner":"api-postcode","description":"PHP Api Client using Curl","archived":false,"fork":false,"pushed_at":"2022-03-16T15:42:23.000Z","size":13,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-07T07:51:50.593Z","etag":null,"topics":["api","client","curl","json","php","postcode"],"latest_commit_sha":null,"homepage":"https://api-postcode.nl","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/api-postcode.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":"2017-06-03T18:17:01.000Z","updated_at":"2024-10-26T13:33:38.000Z","dependencies_parsed_at":"2022-08-07T10:00:52.591Z","dependency_job_id":null,"html_url":"https://github.com/api-postcode/php-client","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/api-postcode/php-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-postcode%2Fphp-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-postcode%2Fphp-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-postcode%2Fphp-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-postcode%2Fphp-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/api-postcode","download_url":"https://codeload.github.com/api-postcode/php-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/api-postcode%2Fphp-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004183,"owners_count":26083689,"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-10-10T02:00:06.843Z","response_time":62,"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":["api","client","curl","json","php","postcode"],"created_at":"2024-11-16T22:11:09.111Z","updated_at":"2025-10-11T07:37:24.337Z","avatar_url":"https://github.com/api-postcode.png","language":"PHP","readme":"Api Postcode PHP Client\n=======================\n\nA PHP client for fetching address detials from https://api-postcode.nl\n\nInstallation\n------------\nInstallation is a quick step process:\n\n1. Download the client with composer\n\n### Step 1: Download php-client using composer\n\n``` bash\n$ composer require api-postcode/php-client\n```\n\n\nUsage\n-----\n``` php\n$token = 'secret-token';\n$client = new ApiPostcode\\Client\\PostcodeClient($token);\n\n$address = $client-\u003efetchAddress('1082MD', 34);\n\n$address-\u003egetStreet();      // Claude Debussylaan\n$address-\u003egetCity();        // Amsterdam\n$address-\u003egetHouseNumber(); // 34\n$address-\u003egetZipCode();     // 1082MD\n$address-\u003egetLatitude();    // 52.3377074\n$address-\u003egetLongitude();   // 4.8719565\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-postcode%2Fphp-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapi-postcode%2Fphp-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapi-postcode%2Fphp-client/lists"}