Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 2.26 KB

README.md

File metadata and controls

68 lines (46 loc) · 2.26 KB

Build Status Scrutinizer Code Quality SensioLabsInsight Code Climate Gitter

SleepnessUberFrontendValidationBundle

This Bundle is a powerful tool to provide a client side validation of form data.

Introduction

Separation of concern

Symfony2 provides a powerful tool for server side validation. This bundle provides a tool to make your app more secured by converting Symfony2 server side rules into friendly client side validation.

Symfony compatibility

This bundle works on any Symfony 2.0+ version.

Features

This bundle supports the following constraints:

Basic Constraints:

  • NotBlank
  • Blank
  • NotNull
  • Null
  • True
  • False

String Constraints:

  • Email
  • Length
  • Url

Comparison Constraint:

  • EqualTo
  • NotEqualTo

Date Constraint:

  • DateTime
  • Date

File Constraints:

  • File
  • Image

SleepnessUberFrontendValidationBundle supports:

  • translating constraint messages, defined in message option of constraint;
  • "validation groups" for organizing constraints.

Documentation

The bulk of the documentation for installation and configuration is stored in the Resources/doc/index.md file in this bundle.

Contributing

Pull requests are welcome.

License

See the complete license in the bundle: Resources/meta/LICENSE.