hispavista / solve-media-bundle
Symfony bundle for use the solve media api
Installs: 4 042
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- symfony/framework-bundle: >=2.3
This package is not auto-updated.
Last update: 2025-04-08 12:29:23 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') )); ...