hispavista/solve-media-bundle
Composer 安装命令:
composer require hispavista/solve-media-bundle
包简介
Symfony bundle for use the solve media api
README 文档
README
#SolveMediaBundle
Installation
Installation is quick and easy, 3 steps process
- Install SolveMediaBundle
- Enable the bundle
- Configure the bundle
Step 1: Install SolveMediaBundle
Add the following dependency to your composer.json file:
{
"require": {
"_some_packages": "...",
"hispavista/solve-media-bundle": "dev-master"
}
}
Step 2: Enable the bundle
Finally, enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Hispavista\SolveMediaBundle\HispavistaSolveMediaBundle(), ); }
Step 3: Configure the bundle
hispavista_solve_media: challenge_key: your_challenge_key verification_key: your_verification_key autenticathion_key: your authenticacion_key
Step 4: Use it!!
In your form type
... $builder->add('captcha', 'hispavista_solvemediacaptcha',array( 'label' => ' ', /* Label is included in the captcha, put a blank space to hide form label*/ 'mapped' => false, 'config' => array('theme'=> 'white', 'lang' => 'es') )); ...
统计信息
- 总下载量: 4.04k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-12-01