Skip to content
albertmoreno edited this page Aug 11, 2015 · 41 revisions

Laravel 5 Javascript Validation

Latest Version Quality Score SensioLabsInsight Software License

This package 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.

Feature overview

  • Automatic creation of javascript validation based on your Validation Rules, Messages, FormRequest and Validators.
  • The package uses Jquery Validation Plugin bundled in provided script.
  • Unobtrusive integration, you can use independently of Laravel Form Builder. and no Javascript coding required.
  • Uses Laravel Localization to translate messages.
  • Can be configured in controllers or views.

Supported Rules

All Laravel Validation Rules are supported. ActiveURL, Unique and Exists rules are validated automatically via AJAX