{"id":15527252,"url":"https://github.com/recca0120/twzipcode","last_synced_at":"2025-05-16T14:05:42.812Z","repository":{"id":56861544,"uuid":"60471045","full_name":"recca0120/twzipcode","owner":"recca0120","description":"正規化台灣地址，並取得縣市、鄉鎮、區碼","archived":false,"fork":false,"pushed_at":"2025-04-10T11:23:03.000Z","size":18303,"stargazers_count":137,"open_issues_count":0,"forks_count":16,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-19T16:15:27.827Z","etag":null,"topics":["php","taiwan","zip","zip3","zip5","zipcode"],"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/recca0120.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":"2016-06-05T17:03:15.000Z","updated_at":"2025-04-09T13:02:47.000Z","dependencies_parsed_at":"2024-11-22T00:27:10.736Z","dependency_job_id":"d7d71da8-e998-47b3-9f35-91755f67b818","html_url":"https://github.com/recca0120/twzipcode","commit_stats":{"total_commits":102,"total_committers":4,"mean_commits":25.5,"dds":"0.23529411764705888","last_synced_commit":"289b08970a52971d53bcd19fcc6d782852a748f2"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Ftwzipcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Ftwzipcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Ftwzipcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Ftwzipcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/recca0120","download_url":"https://codeload.github.com/recca0120/twzipcode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253954061,"owners_count":21989960,"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":["php","taiwan","zip","zip3","zip5","zipcode"],"created_at":"2024-10-02T11:05:13.594Z","updated_at":"2025-05-16T14:05:41.889Z","avatar_url":"https://github.com/recca0120.png","language":"PHP","readme":"# TWZIPCODE 3 + 2\n\n[![Total Downloads](https://poser.pugx.org/recca0120/twzipcode/d/total.svg)](https://packagist.org/packages/recca0120/twzipcode)\n[![Latest Stable Version](https://poser.pugx.org/recca0120/twzipcode/v/stable.svg)](https://packagist.org/packages/recca0120/twzipcode)\n[![Latest Unstable Version](https://poser.pugx.org/recca0120/twzipcode/v/unstable.svg)](https://packagist.org/packages/recca0120/twzipcode)\n[![License](https://poser.pugx.org/recca0120/twzipcode/license.svg)](https://packagist.org/packages/recca0120/twzipcode)\n[![Monthly Downloads](https://poser.pugx.org/recca0120/twzipcode/d/monthly)](https://packagist.org/packages/recca0120/twzipcode)\n[![Daily Downloads](https://poser.pugx.org/recca0120/twzipcode/d/daily)](https://packagist.org/packages/recca0120/twzipcode)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/recca0120/twzipcode/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/recca0120/twzipcode/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/recca0120/twzipcode/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/recca0120/twzipcode/?branch=master)\n\n```php\nrequire __DIR__.'/vendor/autoload.php';\n\nuse Recca0120\\Twzipcode\\Zipcode;\n\n$zipcode = Zipcode::parse('台北市中正區中華路１段25號');\necho $zipcode-\u003ezip3(); // 100\necho $zipcode-\u003ezip5(); // 10043;\necho $zipcode-\u003ecounty(); // 臺北市\necho $zipcode-\u003edistrict(); // 中正區\necho $zipcode-\u003eaddress(); // 臺北市中正區中華路1段25號\necho $zipcode-\u003eshortAddress(); //中華路1段25號\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frecca0120%2Ftwzipcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frecca0120%2Ftwzipcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frecca0120%2Ftwzipcode/lists"}