PHPackages                             gregwar/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. gregwar/captcha-bundle

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

gregwar/captcha-bundle
======================

Captcha bundle

v2.5.0(4mo ago)3524.7M↑11.5%127[41 issues](https://github.com/Gregwar/CaptchaBundle/issues)[4 PRs](https://github.com/Gregwar/CaptchaBundle/pulls)20MITPHPPHP &gt;=8.0.2

Since Jun 22Pushed 4mo ago15 watchersCompare

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

READMEChangelog (2)Dependencies (8)Versions (28)Used By (20)

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)

CaptchaBundleSymfonyPHP&gt;=2.36.\* - 8.\*&gt;= 8.0.22.2.\*5.\* - 6.\*&gt;= 7.12.1.\*4.\* - 5.\*&gt;= 7.12.0.\*2.8 - 3.\*&gt;= 5.3.91.\*2.1 - 2.7&gt;= 5.3.0Installation
============

[](#installation)

### Step 1: Download the GregwarCaptchaBundle

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

Use composer require to download and install the package. At the end of the installation, the bundle is automatically registered thanks to the Symfony recipe.

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

If you don't use flex, register it manually:

```
