{"id":16387606,"url":"https://github.com/bitnbytesio/jvalidator","last_synced_at":"2026-06-17T12:31:54.061Z","repository":{"id":88916703,"uuid":"52512269","full_name":"bitnbytesio/jvalidator","owner":"bitnbytesio","description":"Client Side validation in Laravel","archived":false,"fork":false,"pushed_at":"2016-02-25T10:04:36.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T12:16:27.355Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/bitnbytesio.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}},"created_at":"2016-02-25T09:21:24.000Z","updated_at":"2016-08-20T20:56:31.000Z","dependencies_parsed_at":"2023-05-09T16:56:19.825Z","dependency_job_id":null,"html_url":"https://github.com/bitnbytesio/jvalidator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitnbytesio/jvalidator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitnbytesio%2Fjvalidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitnbytesio%2Fjvalidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitnbytesio%2Fjvalidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitnbytesio%2Fjvalidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitnbytesio","download_url":"https://codeload.github.com/bitnbytesio/jvalidator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitnbytesio%2Fjvalidator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34449277,"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-06-17T02:00:05.408Z","response_time":127,"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-10-11T04:26:58.977Z","updated_at":"2026-06-17T12:31:54.046Z","avatar_url":"https://github.com/bitnbytesio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery validator for Laravel 5\n\nThis package will provide both client and Server Side validation for laravel 5.\n\n**Dependency**\n- Laravel 5\n- Jquery 1.11+\n- Jquery Validation 1.14\n\n**Usage**\n```html\n\u003c!-- index.blade.php --\u003e\n\t\u003chtml\u003e\n\u003chead\u003e\n\t\u003cscript src=\"//code.jquery.com/jquery-1.12.0.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript src=\"//code.jquery.com/jquery-migrate-1.2.1.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript src=\"http://cdn.jsdelivr.net/jquery.validation/1.14.0/jquery.validate.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript src=\"http://cdn.jsdelivr.net/jquery.validation/1.14.0/additional-methods.min.js\"\u003e\u003c/script\u003e\n\t\u003cscript src=\"validations.js\"\u003e\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003cform id=\"form-sample\" method=\"post\"\u003e\n\n\t{{csrf_field()}}\n\n\t\u003ctable\u003e\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003ename\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"name\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003eemail\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"email\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003eage\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"age\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003ewebsite\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"website\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003eprice\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"price\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003ehighlight_text\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"highlight_text\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003edisplay_name\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"display_name\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003enewsletter\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"newsletter\" type=\"radio\" value=\"1\"\u003e True \u003cinput name=\"newsletter\" type=\"radio\" value=\"0\"\u003e False\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003eterms\u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput name=\"i_agree\" value=\"yes\" type=\"checkbox\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\t\u003ctr\u003e\n\t\t\t\u003ctd\u003e  \u003c/td\u003e\n\t\t\t\u003ctd\u003e\u003cinput type=\"submit\"\u003e\u003c/td\u003e\n\t\t\u003c/tr\u003e\n\n\t\u003c/table\u003e\n\n\u003c/form\u003e\n{!! $jquery-\u003evalidate(\"#form-sample\"); !!}\n\u003c/body\u003e\n\u003c/html\u003e\n\n```\n\n```php\n\n// routes.php\n\nRoute::any('test', function () {\n\t\n\t// validation rules\n\t$r = [\n\t\t'name' =\u003e 'required',\n\t\t'age' =\u003e 'required|min:18|max:21',\n\t\t'email' =\u003e 'required|email',\n\t\t'i_agree' =\u003e 'accepted',\n\t\t'website' =\u003e 'required|url',\n\t\t'display_name' =\u003e 'required|alpha|between:5,6',\n\t\t'price' =\u003e 'required|between:100,200',\n\t\t'highlight_text' =\u003e 'required|between:20,40',\n\t\t'newsletter' =\u003e 'required|boolean'\n\t];\n\n\t// custom messages\n    $m = [\n        'required' =\u003e 'The field can\\'t be left blank',\n        'age.min' =\u003e 'You must be 18 yrs old',\n        'age.max' =\u003e 'You must be under 23 yrs',\n    ];\n\n\n\t$v = new Artisangang\\Validator\\Validator($r,$m);\n\tif (Input::has('name')) {\n\t\t$l = $v-\u003emake(\\Input::all());\n\t\tvar_dump($l-\u003eerrors());\n\t}\t\n\n\treturn view('index');\n\n});\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitnbytesio%2Fjvalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitnbytesio%2Fjvalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitnbytesio%2Fjvalidator/lists"}