Skip to content

Validating Forms

albertmoreno edited this page Mar 17, 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)
  • [FormRequest Vallidation Example](FormRequest Vallidation)
Clone this wiki locally