2017 © Pedro Peláez
 

library solve-media-bundle

Symfony bundle for use the solve media api

image

hispavista/solve-media-bundle

Symfony bundle for use the solve media api

  • Friday, December 12, 2014
  • by hispavista
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3,700 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SolveMediaBundle

Installation

Installation is quick and easy, 3 steps process, (*1)

  1. Install SolveMediaBundle
  2. Enable the bundle
  3. Configure the bundle

Step 1: Install SolveMediaBundle

Add the following dependency to your composer.json file: ``` json { "require": { "_some_packages": "...",, (*2)

    "hispavista/solve-media-bundle": "dev-master"

}

}, (*3)


### Step 2: Enable the bundle Finally, enable the bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Hispavista\SolveMediaBundle\HispavistaSolveMediaBundle(), ); }

Step 3: Configure the bundle

``` yaml hispavista_solve_media: challenge_key: your_challenge_key verification_key: your_verification_key autenticathion_key: your authenticacion_key, (*4)


### Step 4: Use it!! In your form type ```php ... $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') )); ...

The Versions

12/12 2014

dev-master

9999999-dev

Symfony bundle for use the solve media api

  Sources   Download

The Requires

 

by Hispavista Labs