{"id":34650339,"url":"https://github.com/roaatech/validator","last_synced_at":"2026-05-27T10:34:32.348Z","repository":{"id":27000794,"uuid":"30464797","full_name":"roaatech/validator","owner":"roaatech","description":"A validator that works","archived":false,"fork":false,"pushed_at":"2015-02-11T04:21:58.000Z","size":1358,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-05T04:00:30.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/roaatech.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":"2015-02-07T18:09:31.000Z","updated_at":"2024-04-05T04:00:30.456Z","dependencies_parsed_at":"2022-08-31T12:12:35.199Z","dependency_job_id":null,"html_url":"https://github.com/roaatech/validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roaatech/validator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaatech%2Fvalidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaatech%2Fvalidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaatech%2Fvalidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaatech%2Fvalidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roaatech","download_url":"https://codeload.github.com/roaatech/validator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaatech%2Fvalidator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33562772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":"2025-12-24T17:55:32.237Z","updated_at":"2026-05-27T10:34:32.342Z","avatar_url":"https://github.com/roaatech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# validator\nA validator that works\n\n## Why?\nBreifly, a PHP validator that is:\n1. Standalone\n2. Works independenltly for data, as well as files.\n3. Flexible.\n\n## How it works?\n### Simple value simple check\n```php\nif($errors = ItvisionSy\\Validator\\RequiredValidatorRule::quick('99')===true){\n  // validator succeeded\n} else {\n  // failed\n  var_dump($errors);\n}\n```\n### Simple valude multiple checks\n```php\nif($errors = ItvisionSy\\Validator\\ValidatorItem::quick(99,'required')===true){\n  // succeeded\n} else {\n  // failed\n  var_dump($errors);\n}\n```\n### Data validation\n```php\nif($errors = ItvisionSy\\Validator\\Validator::quick([\n  'name'=\u003e'required|string|min:4',\n  'email'=\u003e'required|email'\n],[\n  'name'=\u003e'Muhannad Shelleh'\n])===true){\n  // succeeded\n} else {\n  // failed (like now)\n  var_dump($errors);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froaatech%2Fvalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froaatech%2Fvalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froaatech%2Fvalidator/lists"}