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

Laravel 5 Javascript Validation

Latest Stable Version Total Downloads Latest Unstable Version 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 validations and translated according your Localization preferences.

Feature overview

  • Automatic creation of Javascript validation based on your Validation Rules, Messages or FormRequest.
  • 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

Custom Validation Rules also are validated with Ajax.

This package is incompatible with Class Based Custom Validators (like Intervention/validation). In next release this issue will be resolver

Clone this wiki locally