{"id":34016957,"url":"https://github.com/vbpupil/uk-postcode-validation","last_synced_at":"2026-04-08T15:30:59.120Z","repository":{"id":62543849,"uuid":"166385630","full_name":"vbpupil/uk-postcode-validation","owner":"vbpupil","description":"UK Postcode Validation","archived":false,"fork":false,"pushed_at":"2019-02-11T12:14:13.000Z","size":26,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-15T02:30:32.193Z","etag":null,"topics":["postcode","postcode-validation","postcodes","validation"],"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/vbpupil.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":"2019-01-18T10:11:31.000Z","updated_at":"2025-10-14T22:58:49.000Z","dependencies_parsed_at":"2022-11-02T21:15:26.152Z","dependency_job_id":null,"html_url":"https://github.com/vbpupil/uk-postcode-validation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vbpupil/uk-postcode-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbpupil%2Fuk-postcode-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbpupil%2Fuk-postcode-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbpupil%2Fuk-postcode-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbpupil%2Fuk-postcode-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbpupil","download_url":"https://codeload.github.com/vbpupil/uk-postcode-validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbpupil%2Fuk-postcode-validation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["postcode","postcode-validation","postcodes","validation"],"created_at":"2025-12-13T14:14:29.780Z","updated_at":"2026-04-08T15:30:59.111Z","avatar_url":"https://github.com/vbpupil.png","language":"PHP","readme":"## Quality Assurance\n\n![PHP 5.6](https://img.shields.io/badge/PHP-5.6-blue.svg)\n[![Build Status](https://travis-ci.org/vbpupil/uk-postcode-validation.svg?branch=master)](https://travis-ci.org/vbpupil/uk-postcode-validation)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\n# UK Postcode Validation\n\nUK postcode validation tool used to determine that a string given is a valid UK Postcode. The object then returned contains the following:\n1. Type - __area classification__\n2. Head - __first section of the postcode__\n3. Tail - __last section of the postcode__\n\n### How to use?\n\n```php\n$p = new Postode('SW1A 1AA');\n$p-\u003egetType(); # returns string UK_MAINLAND\n$p-\u003egetHead(); # returns string SW1A\n$p-\u003egetTail(); # returns string 1AA\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbpupil%2Fuk-postcode-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbpupil%2Fuk-postcode-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbpupil%2Fuk-postcode-validation/lists"}