sleepness/uber-frontend-validation-bundle

Provides a powerful tool for client side validation form data

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 3

Open Issues: 1

Language:JavaScript

Type:symfony-bundle

dev-develop / 1.0.x-dev 2015-10-27 18:57 UTC

This package is auto-updated.

Last update: 2024-03-29 03:31:29 UTC


README

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.