PHPackages                             pawsitiwe/sulu-turnstile-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. pawsitiwe/sulu-turnstile-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

pawsitiwe/sulu-turnstile-bundle
===============================

Cloudflare Turnstile integration for Sulu FormBundle (fully automatic).

0.0.5(5mo ago)05MITPHPPHP &gt;=8.1

Since Dec 3Pushed 5mo agoCompare

[ Source](https://github.com/pawsitiwe/sulu-turnstile-bundle)[ Packagist](https://packagist.org/packages/pawsitiwe/sulu-turnstile-bundle)[ RSS](/packages/pawsitiwe-sulu-turnstile-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Sulu Turnstile Bundle
=====================

[](#sulu-turnstile-bundle)

**Cloudflare Turnstile integration for Sulu FormBundle (fully automatic).**

This bundle is a **wrapper for the [Pixel-Open Cloudflare Turnstile Bundle](https://github.com/Pixel-Open/cloudflare-turnstile-bundle)** and allows you to easily add Turnstile captchas as Dynamic FormFields in Sulu without manually configuring services or XML.

---

Features
--------

[](#features)

- Adds a **Turnstile Dynamic FormFieldType** automatically.
- Fully compatible with Sulu 2.x.
- No manual project modifications required.
- Installable via `composer require`.
- Field appears automatically in the Sulu Admin.

---

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

[](#installation)

### 1. Install the bundle via Composer

[](#1-install-the-bundle-via-composer)

```
composer require pawsitiwe/sulu-turnstile-bundle
```

### 2. Register the bundle

[](#2-register-the-bundle)

If Symfony Flex is enabled, it should register automatically in config/bundles.php:

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

### 3. Add configuration

[](#3-add-configuration)

Add a config file into config/packages/pixel\_open\_cloudflare\_turnstile.yaml :

```
pixel_open_cloudflare_turnstile:
    key: '%env(TURNSTILE_KEY)%'
    secret: '%env(TURNSTILE_SECRET)%'
    enable : true
```

### 4. Add Cloudflare API credentials to your environment variables

[](#4-add-cloudflare-api-credentials-to-your-environment-variables)

Visit Cloudflare to create your site key and secret key and add them to your .env file.

```
TURNSTILE_KEY="1x00000000000000000000AA"
TURNSTILE_SECRET="2x0000000000000000000000000000000AA"

```

### 5. Clear the cache

[](#5-clear-the-cache)

```
bin/console cache:clear
```

Usage in Sulu Admin
-------------------

[](#usage-in-sulu-admin)

1. After installation, the Turnstile field is automatically available in the Dynamic FormFieldType dropdown.
2. The field can be configured like any other Dynamic FormField.

Requirements
------------

[](#requirements)

- PHP 8.1 or higher
- Sulu 2.5 or higher
- [Pixel-Open Cloudflare Turnstile Bundle](https://github.com/Pixel-Open/cloudflare-turnstile-bundle) (installed automatically via Composer)

Note
----

[](#note)

This bundle is only a Sulu wrapper for the official Pixel-Open Cloudflare Turnstile Bundle. It handles:

- Registration as a Dynamic FormFieldType
- XML field setup
- Easy usage in the Sulu Admin

The actual Captcha logic remains fully handled by the original bundle.

License
-------

[](#license)

MIT

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance72

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

160d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2afccc78973814ac53eb55e33220252e0f4c5a6e6acd3b6729a8302adb8cbd6c?d=identicon)[pawsitiwe](/maintainers/pawsitiwe)

---

Top Contributors

[![pawsitiwe](https://avatars.githubusercontent.com/u/147261929?v=4)](https://github.com/pawsitiwe "pawsitiwe (13 commits)")

---

Tags

bundlecaptchacmssuluturnstile

### Embed Badge

![Health badge](/badges/pawsitiwe-sulu-turnstile-bundle/health.svg)

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

###  Alternatives

[web-token/jwt-library

JWT library

2011.2M83](/packages/web-token-jwt-library)[gfreeau/get-jwt-bundle

This Symfony bundle provides a security listener to return a JWT

86591.6k3](/packages/gfreeau-get-jwt-bundle)[tito10047/altcha-bundle

A simple package to help integrate Altcha on Symfony.

1610.9k1](/packages/tito10047-altcha-bundle)[andkab/php-turnstile

API Implementation of CloudFlare Turnstile for PHP

117.3k](/packages/andkab-php-turnstile)

PHPackages © 2026

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