Skip to content

Sleepness/UberFrontendValidationBundle

Repository files navigation

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.

About

Best Frontend validation for Symfony you have seen before

Resources

Stars

Watchers

Forks

Packages

No packages published