PHPackages                             prefeituravitoria/captcha-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. prefeituravitoria/captcha-bundle

ActiveCaptcha-bundle[Security](/categories/security)

prefeituravitoria/captcha-bundle
================================

Captcha bundle

v2.0.5(8y ago)0441MITPHPPHP &gt;=7.1

Since Jun 22Pushed 6y ago2 watchersCompare

[ Source](https://github.com/prefeituravitoria/CaptchaBundle)[ Packagist](https://packagist.org/packages/prefeituravitoria/captcha-bundle)[ Docs](https://github.com/Gregwar/CaptchaBundle)[ RSS](/packages/prefeituravitoria-captcha-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (15)Used By (0)

Gregwar's CaptchaBundle
=======================

[](#gregwars-captchabundle)

[![paypal](https://camo.githubusercontent.com/e1ff554a09e8e92bef25abc553ff05b88f45afd695877cf12f3a46558ef65b2e/68747470733a2f2f7777772e70617970616c6f626a656374732e636f6d2f656e5f55532f692f62746e2f62746e5f646f6e61746543435f4c472e676966)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YUXRLWHQSWS6L)

The `GregwarCaptchaBundle` adds support for a captcha form type for the Symfony form component.

It uses [gregwar/captcha](https://github.com/Gregwar/Captcha) as captcha generator, which is a separate standalone library that can be used for none-symfony projects.

Compatibility with Symfony
==========================

[](#compatibility-with-symfony)

If you are using Symfony `< 2.8`, you should use version `1.*`

If you are using SYmfony `>= 2.8`, you should use version `2.*`

Installation
============

[](#installation)

### Step 1: Download the GregwarCaptchaBundle

[](#step-1-download-the-gregwarcaptchabundle)

Ultimately, the GregwarCaptchaBundle files should be downloaded to the 'vendor/bundles/Gregwar/CaptchaBundle' directory.

You can accomplish this several ways, depending on your personal preference. The first method is the standard Symfony method.

***Using Composer***

Use composer require to download and install the package.

```
    composer require gregwar/captcha-bundle
```

***Using the vendors script***

Add the following lines to your `deps` file:

```
    [GregwarCaptchaBundle]
        git=http://github.com/Gregwar/CaptchaBundle.git
        target=/bundles/Gregwar/CaptchaBundle
        version=origin/2.0
