sleepness/uber-frontend-validation-bundle
Composer 安装命令:
composer require sleepness/uber-frontend-validation-bundle
包简介
Provides a powerful tool for client side validation form data
README 文档
README
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:
- 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.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-31