Skip to content

Validating Examples

albertmoreno edited this page Apr 13, 2015 · 5 revisions

The main goal of this package is the ability to reuse your PHP validation logic to validate forms via Javascript. If you validate your forms using controller, the simplest way to reuse your validation rules is tho share yor rules between controllers methods.

If you use FormRequest you could configure your validations directly in the view.

Here you can look some examples of how to use this package:

  • [Controller Validation Example](Controller Validation Example)
  • [FormRequest Vallidation Example](FormRequest Vallidation Example)
Clone this wiki locally