{"id":13396137,"url":"https://github.com/proengsoft/laravel-jsvalidation","last_synced_at":"2025-05-13T17:11:27.926Z","repository":{"id":28768006,"uuid":"32290361","full_name":"proengsoft/laravel-jsvalidation","owner":"proengsoft","description":"Laravel Javascript Validation","archived":false,"fork":false,"pushed_at":"2025-05-12T08:28:32.000Z","size":4665,"stargazers_count":1146,"open_issues_count":17,"forks_count":173,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-05-12T09:55:24.858Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/proengsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["bytestream"]}},"created_at":"2015-03-15T23:38:26.000Z","updated_at":"2025-05-12T08:28:34.000Z","dependencies_parsed_at":"2024-01-07T01:11:50.563Z","dependency_job_id":"da017efb-4964-4c71-a1df-5ecf322d3993","html_url":"https://github.com/proengsoft/laravel-jsvalidation","commit_stats":{"total_commits":933,"total_committers":44,"mean_commits":"21.204545454545453","dds":0.7170418006430868,"last_synced_commit":"314418bd744985882650912214a5aa303451fbfe"},"previous_names":[],"tags_count":69,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proengsoft%2Flaravel-jsvalidation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proengsoft%2Flaravel-jsvalidation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proengsoft%2Flaravel-jsvalidation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proengsoft%2Flaravel-jsvalidation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proengsoft","download_url":"https://codeload.github.com/proengsoft/laravel-jsvalidation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990470,"owners_count":21995774,"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":[],"created_at":"2024-07-30T18:00:41.156Z","updated_at":"2025-05-13T17:11:22.915Z","avatar_url":"https://github.com/proengsoft.png","language":"PHP","funding_links":["https://github.com/sponsors/bytestream"],"categories":["Popular Packages","Paquetes utiles"],"sub_categories":[],"readme":"## Laravel Javascript Validation\n\n![Latest Version](https://img.shields.io/github/release/proengsoft/laravel-jsvalidation.svg?style=flat-square)\n![tests](https://github.com/proengsoft/laravel-jsvalidation/actions/workflows/php-tests.yml/badge.svg)\n![Code Coverage](https://app.codecov.io/gh/proengsoft/laravel-jsvalidation)\n![Total Downloads](https://img.shields.io/packagist/dt/proengsoft/laravel-jsvalidation.svg?style=flat-square)\n![License](https://img.shields.io/badge/license-MIT-brightgreen?style=flat-square)\n\n**Laravel Javascript Validation** package allows to reuse your Laravel [Validation Rules][], [Messages][], [FormRequest][] and [Validators][] to validate forms automatically in client side without need to write any Javascript code or use HTML Builder Class. \n\nYou can validate forms automatically referencing it to your defined validations. The messages are loaded from your  validations and translated according your Localization preferences.\n\n#### Supported versions\n\nLaravel 9.x - 11.x\n\n#### Feature overview\n\n- Automatic creation of Javascript validation based on your [Validation Rules][] or [FormRequest][], no Javascript coding required.\n- Supports other validation packages. \n- AJAX validation for [ActiveURL][], [Unique][] and [Exists][] Rules, [Custom Validation Rules][] and other validation packages\n- Unobtrusive integration, you can use without Laravel Form Builder\n- The package uses [Jquery Validation Plugin][]  bundled in provided script.\n- Uses Laravel Localization to translate messages.\n\n#### Supported Rules\n\n**Almost all [Validation Rules][] provided by Laravel and other packages are supported**.\n\nAlmost are validated in client-side using Javascript, but in some cases, the validation should to be done in server-side via AJAX:\n - [ActiveURL][]\n - [Unique][]\n - [Exists][]\n - [Custom Validation Rules][]\n - Validations provided by other packages\n\n##### Unsupported Rules\n\nSome Laravel validations are not implemented yet.\n    \n- [Present][] \n- [DateFormat][] rule don't support timezone format\n\n#### Getting started\n\nThe easiest way to create Javascript validations is using [Laravel Form Request Validation][].\n\n##### Installation\n\nFollow the [Installation Guide][] to install the package. **The default config should work out-of-box**\n\n##### Validating Form Request\n\nCall [JsValidator Facade][] in your view to validate any [FormRequest](https://laravel.com/docs/master/validation)\n \n```html\n\u003cform\u003e\n    \u003c!-- ... My form stuff ... --\u003e\n\u003c/form\u003e\n\n\u003c!-- Javascript Requirements --\u003e\n\u003cscript src=\"//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.1/js/bootstrap.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- Laravel Javascript Validation --\u003e\n\u003cscript type=\"text/javascript\" src=\"{{ asset('vendor/jsvalidation/js/jsvalidation.js')}}\"\u003e\u003c/script\u003e\n\n{!! JsValidator::formRequest('App\\Http\\Requests\\MyFormRequest') !!}\n```\n\nTake a look to [Basic Usage](https://github.com/proengsoft/laravel-jsvalidation/wiki/Basic-Usage) or [Examples](https://github.com/proengsoft/laravel-jsvalidation/wiki/Validating-Examples) to get more information.\n\n#### Documentation\n\n**To get more info refer to [Project Wiki](https://github.com/proengsoft/laravel-jsvalidation/wiki/Home)**\n\n#### Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n#### Contributing\n\nPlease see [CONTRIBUTING][] for details.\n\n#### Credits\n\n[Laravel Javascript Validation contributors list](../../contributors)\n\n#### License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ActiveURL]: https://laravel.com/docs/5.4/validation#rule-active-url\n[CONTRIBUTING]: https://github.com/proengsoft/laravel-jsvalidation/wiki/Contributing\n[Custom Validations]: https://laravel.com/docs/5.4/validation#custom-validation-rules\n[Custom Validation Rules]: https://laravel.com/docs/5.4/validation#custom-validation-rules\n[DateFormat]: https://laravel.com/docs/5.4/validation#rule-date-format\n[Exists]: https://laravel.com/docs/5.4/validation#rule-exists\n[FormRequest]: https://laravel.com/docs/5.4/validation#form-request-validation\n[Installation Guide]: https://github.com/proengsoft/laravel-jsvalidation/wiki/Installation\n[JsValidator Facade]: https://github.com/proengsoft/laravel-jsvalidation/wiki/Facade\n[JQueryValidation]: https://jqueryvalidation.org/\n[JQuery Validation Plugin]: https://jqueryvalidation.org/\n[Laravel Form Request Validation]: http://laravel.com/docs/5.4/validation#form-request-validation\n[Laravel Localization]: https://laravel.com/docs/5.4/localization\n[Messages]: https://laravel.com/docs/5.4/validation#error-messages-and-views\n[Present]: https://laravel.com/docs/5.4/validation#rule-present\n[Unique]: https://laravel.com/docs/5.4/validation#rule-unique\n[Validation]: https://laravel.com/docs/5.4/validation \n[Validation Rules]: https://laravel.com/docs/5.4/validation#available-validation-rules\n[Validators]: https://laravel.com/docs/5.4/validation#form-request-validation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproengsoft%2Flaravel-jsvalidation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproengsoft%2Flaravel-jsvalidation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproengsoft%2Flaravel-jsvalidation/lists"}