{"id":18458310,"url":"https://github.com/crazyfactory/validation","last_synced_at":"2026-01-30T03:08:08.078Z","repository":{"id":45580666,"uuid":"152357270","full_name":"crazyfactory/validation","owner":"crazyfactory","description":"Helper classes to validate inputs","archived":false,"fork":false,"pushed_at":"2025-06-02T07:37:32.000Z","size":96,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-05T04:47:58.770Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crazyfactory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-10-10T03:23:58.000Z","updated_at":"2025-06-02T07:37:07.000Z","dependencies_parsed_at":"2025-01-13T00:18:06.095Z","dependency_job_id":"3f8fc0c4-2bd8-4dbd-a4a8-9689053e6b75","html_url":"https://github.com/crazyfactory/validation","commit_stats":{"total_commits":57,"total_committers":8,"mean_commits":7.125,"dds":0.5614035087719298,"last_synced_commit":"8056586155b4a3c39cd45b53bceb5ed389956719"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/crazyfactory/validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fvalidation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fvalidation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fvalidation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fvalidation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crazyfactory","download_url":"https://codeload.github.com/crazyfactory/validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crazyfactory%2Fvalidation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28897723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T21:06:44.224Z","status":"online","status_checked_at":"2026-01-30T02:00:06.810Z","response_time":66,"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":[],"created_at":"2024-11-06T08:17:48.277Z","updated_at":"2026-01-30T03:08:08.062Z","avatar_url":"https://github.com/crazyfactory.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Validation Helpers\n\nThis repo contains Helper classes used for various Validation tasks\n\n## Example usage\n\n```php\nuse CrazyFactory\\Validation\\ZipCode\\Validator as ZipCodeValidator;\nuse CrazyFactory\\Validation\\ZipCode\\Sanitizer as ZipCodeSanitizer;\n\n$isValidZipCode = ZipCodeValidator::isValid($zipCode, $countryCode);\n// =\u003e bool\n\n$zipCode = ZipCodeSanitizer::sanitize($zipCode, $countryCode);\n// =\u003e a sanitized and valid zip code (original code on failure)\n```\n\n## Requirements\n- php:  *\u003e7.1*\n- composer installed\n\n\n## Scripts\n\nRun Tests\n\n```bash\ncomposer test\n```\n\n### Lint\n\n```bash\ncomposer lint\n```\n\n#### Auto-fix of linting errors\n\n```bash\ncomposer lint:fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazyfactory%2Fvalidation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrazyfactory%2Fvalidation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrazyfactory%2Fvalidation/lists"}