Add GlavwebCaptchaBundle by running this command from the terminal at the root of your Symfony project:
php composer.phar require glavweb/captcha-bundle
To start using the bundle, register the bundle in your application's kernel class:
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Glavweb\CaptchaBundle\GlavwebCaptchaBundle(),
// ...
);
}
Add config:
# app/config/config.yml
glavweb_captcha: ~
Add routing:
# app/config/routing.yml
glavweb_captcha_routing:
resource: "@GlavwebCaptchaBundle/Resources/config/routing.yml"