Laravel Javascript Validation allows to reuse your Laravel Validation Rules, Messages, FormRequest and Validators to validate forms transparently in client side without need to write any Javascript code or use HTML Builder Class. You can validate forms automatically referencing it to your defined validations. The messages are loaded from your validators and translated according your Localization preferences.
All Laravel [Available Validation Rules] (http://laravel.com/docs/5.0/validation#available-validation-rules) are implemented (except remotes for now)
The JsValidator created by the Facade inherits from Laravel Validation, so you can use all methods and procedures that Laravel provides to setup your validations. Also class and rule syntax are the same that Laravel Validation class implements. When the instance is printed in a view the Javascript code needed to validate your form is rendered to the page.
The Javascript validations are made using JQuery Validation Plugin, that is compiled into javascript in the package.
- About
- Installation
- Configuration
- Basic Usage
- Validation Examples
- Testing
- [Contributing] (https://github.com/proengsoft/laravel-jsvalidation/wiki/Contributing)
- [ChangeLog] (https://github.com/proengsoft/laravel-jsvalidation/blob/master/CHANGELOG.md)
- [Security] (https://github.com/proengsoft/laravel-jsvalidation/wiki/Security)
- [Credits] (https://github.com/proengsoft/laravel-jsvalidation/wiki/Credits)
- [License] (https://github.com/proengsoft/laravel-jsvalidation/blob/master/LICENSE.md)
The MIT License (MIT). Please see License File for more information.