#SolveMediaBundle
Installation is quick and easy, 3 steps process
- Install SolveMediaBundle
- Enable the bundle
- Configure the bundle
Add the following dependency to your composer.json file:
{
"require": {
"_some_packages": "...",
"hispavista/solve-media-bundle": "dev-master"
}
}Finally, enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Hispavista\SolveMediaBundle\HispavistaSolveMediaBundle(),
);
}hispavista_solve_media:
challenge_key: your_challenge_key
verification_key: your_verification_key
autenticathion_key: your authenticacion_keyIn 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')
));
...