innocead/captcha-bundle
Composer 安装命令:
composer require innocead/captcha-bundle
包简介
Symfony InnoceadCaptchaBundle
README 文档
README
The InnoceadCaptchaBundle adds support for a captcha in Symfony 2.1.* and later.
Features include:
- Constraints Validator
- Form type
- Flexible configuration
- Uses translations (ru, en)
Installation
See Resources/doc/installation.md
Usage
You can use the "innocead_captcha" type in your forms this way:
<?php // ... $builder->add('captcha', 'innocead_captcha'); // ...
And Constraints Validator in model:
<?php namespace ..\Model; use Innocead\CaptchaBundle\Validator\Constraints as CaptchaAssert; class RecoverAccount { /** * @CaptchaAssert\Captcha */ public $captcha; }
Configuration
See Resources/doc/configuration.md
License
This bundle is under the MIT license. See the complete license in the bundle:
统计信息
- 总下载量: 33.33k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-09-01