hispavista / solve-media-bundle
There is no license information available for the latest version (dev-master) of this package.
Symfony bundle for use the solve media api
dev-master
2014-12-12 13:17 UTC
Requires
- symfony/framework-bundle: >=2.3
This package is not auto-updated.
Last update: 2026-03-10 17:09:59 UTC
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') )); ...