PHPackages                             robole/sulu-form-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. robole/sulu-form-captcha-bundle

ActiveSymfony-plugin

robole/sulu-form-captcha-bundle
===============================

Extension for SuluFormBundle that adds third-party captcha providers

v1.1.1(2mo ago)5176MITPHPPHP ^8.2

Since Feb 17Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/robole-dev/sulu-form-captcha-bundle)[ Packagist](https://packagist.org/packages/robole/sulu-form-captcha-bundle)[ Docs](https://github.com/robole-dev/sulu-form-captcha-bundle)[ RSS](/packages/robole-sulu-form-captcha-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (12)Versions (5)Used By (0)

[![GitHub release](https://camo.githubusercontent.com/8c836ba66e7cbd7b1cd5847d14dc6460b9ec54bb7bbab261426b984076722a6e/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f72656c656173652f726f626f6c652d6465762f73756c752d666f726d2d636170746368612d62756e646c65)](https://camo.githubusercontent.com/8c836ba66e7cbd7b1cd5847d14dc6460b9ec54bb7bbab261426b984076722a6e/68747470733a2f2f666c61742e62616467656e2e6e65742f6769746875622f72656c656173652f726f626f6c652d6465762f73756c752d666f726d2d636170746368612d62756e646c65)[![Supports Sulu 2.6 or later](https://camo.githubusercontent.com/95baf11659ec93686f2f5c0fe1ca453aada2d0a0180257c40f10764be957bac0/68747470733a2f2f666c61742e62616467656e2e6e65742f62616467652f53756c752f322e362f3532423543393f69636f6e3d706870)](https://camo.githubusercontent.com/95baf11659ec93686f2f5c0fe1ca453aada2d0a0180257c40f10764be957bac0/68747470733a2f2f666c61742e62616467656e2e6e65742f62616467652f53756c752f322e362f3532423543393f69636f6e3d706870)

SuluFormCaptchaBundle
=====================

[](#suluformcaptchabundle)

> Extension for SuluFormBundle that adds third-party captcha providers.

Installation
------------

[](#installation)

This bundle requires PHP 8.2 or later.

1. Open a command console, enter your project directory and run:

```
composer require robole/sulu-form-captcha-bundle
```

If not automagically done, add the bundle to your `config/bundles.php` file:

```
return [
    //...
    Robole\SuluFormCaptchaBundle\SuluFormCaptchaBundle::class => ['all' => true],
];
```

2. Install and configure one or mutiple captcha providers from below. Once installed, each provider can be selected in the Sulu form editor.

### Use with Cloudflare Turnstile

[](#use-with-cloudflare-turnstile)

1. Install [PixelOpen Cloudflare Turnstile Bundle](https://github.com/Pixel-Open/cloudflare-turnstile-bundle):

```
composer require pixelopen/cloudflare-turnstile-bundle
```

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
return [
    //...
    PixelOpen\CloudflareTurnstileBundle\PixelOpenCloudflareTurnstileBundle::class => ['all' => true]
];
```

2. Visit Cloudfare, create a site key and secret key, save the keys to `.env` and link via service configuration in `config/packages/pixel_open_cloudlflare_turnstile.yaml`:

```
pixel_open_cloudflare_turnstile:
  key: "%env(TURNSTILE_KEY)%"
  secret: "%env(TURNSTILE_SECRET)%"
```

For more information, refer to the [bundle repository](https://github.com/Pixel-Open/cloudflare-turnstile-bundle).

### Use with Gregwar Captcha

[](#use-with-gregwar-captcha)

1. Install [Gregwar CaptchaBundle](https://github.com/Gregwar/CaptchaBundle):

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

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
return [
    //...
    Gregwar\CaptchaBundle\GregwarCaptchaBundle::class => ['all' => true]
];
```

2. Customize the global bundle configuration in `config/packages/gregwar_captcha.yaml`:

```
gregwar_captcha:
  width: 160
  height: 50
```

For more information on configuration and form theming, refer to the [bundle repository](https://github.com/Gregwar/CaptchaBundle).

### Use with Friendly Captcha

[](#use-with-friendly-captcha)

**Attention:** This bundle currently only supports Friendly Captcha v1!

1. Install [CORS Friendly Captcha Bundle](https://github.com/cors-gmbh/friendly-captcha-bundle):

```
composer require cors/friendly-captcha-bundle
```

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
return [
    //...
    CORS\Bundle\FriendlyCaptchaBundle\CORSFriendlyCaptchaBundle::class => ['all' => true],
];
```

2. Visit [Friendly Captcha](https://friendlycaptcha.com), create a site key and secret key, save the keys to `.env` and link via service configuration in `config/packages/cors_friendly_captcha.yaml`:

```
cors_friendly_captcha:
  sitekey: "%env(FRIENDLY_SITEKEY)%"
  secret: "%env(FRIENDLY_SECRET)%"
  use_eu_endpoints: true
```

3. Import the widget via npm in your application or load from CDN, e.g. in `base.html.twig`:

```

```

For more information, refer to the [bundle repository](https://github.com/cors-gmbh/friendly-captcha-bundle).

### Use with ALTCHA

[](#use-with-altcha)

1. Install [AltchaBundle](https://github.com/tito10047/altcha-bundle):

```
composer require tito10047/altcha-bundle
```

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
return [
    //...
    Tito10047\AltchaBundle\AltchaBundle::class => ['all' => true]
];
```

2. Configure AltchaBundle as described in the [README.md](https://github.com/tito10047/altcha-bundle?tab=readme-ov-file#installation).

Theming
-------

[](#theming)

This bundle provides a minimal `theme.html.twig` which extends `@SuluForm/themes/basic.html.twig`. Use it like this:

```

    {% if content.form %}
        {% if app.request.get('send') != 'true' %}
            {% form_theme content.form '@SuluFormCaptcha/theme.html.twig' %}
            {{ form(content.form) }}
        {% else %}
            {{ view.form.entity.successText|raw }}
        {% endif %}
    {% endif %}

```

To customize the default blocks (or to customize the default blocks provided by SuluFormBundle), extend `@SuluFormCaptcha/theme.html.twig` similar as described in [SuluFormBundle theming.md](https://github.com/sulu/SuluFormBundle/blob/2.5/Resources/doc/theming.md).

Scripts
-------

[](#scripts)

- To check the coding standards, run:

    > composer php-cs
- To apply coding standards, run:

    > composer php-cs-fix

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance89

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~119 days

Total

4

Last Release

88d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cbcbb2f84ada4496a48f0531d9dec069f7dcb239e88d06629824cf50a941632f?d=identicon)[kappaj](/maintainers/kappaj)

---

Top Contributors

[![FlxRobole](https://avatars.githubusercontent.com/u/142887197?v=4)](https://github.com/FlxRobole "FlxRobole (11 commits)")[![kappaj](https://avatars.githubusercontent.com/u/11064439?v=4)](https://github.com/kappaj "kappaj (1 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/robole-sulu-form-captcha-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/robole-sulu-form-captcha-bundle/health.svg)](https://phpackages.com/packages/robole-sulu-form-captcha-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M309](/packages/easycorp-easyadmin-bundle)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
