Download the PHP package nuvolapl/cf-turnstile-authenticator-bundle without Composer
On this page you can find all versions of the php package nuvolapl/cf-turnstile-authenticator-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package cf-turnstile-authenticator-bundle
Nuvola Cloudflare Turnstile Authenticator Bundle
This bundle provides authentication based on the response from Cloudflare Turnstile.
Configuration
To install the bundle, follow these steps:
-
The following parameters are required for bundle configuration in the
./config/packages/cf_turnstile_authenticator.yaml
file: - add the
CF_TURNSTILE_AUTHENTICATOR_SECRET_KEY
environment variable to the.env
file with a dummy secret key - add the
CF_TURNSTILE_AUTHENTICATOR_SECRET_KEY
environment variable to the.env.local
file with the secret key from Cloudflare Turnstile
Installation
To install the bundle, follow these steps:
-
Run the following command to install the bundle:
-
add the bundle to the
./config/bundles.php
file: - to use the bundle, add the following code to the
./config/packages/security.yaml
file:
After adding this configuration, only authenticated by response token from the Cloudflare Turnstile will be passed.
Usage
- $RESPONSE is a variable that stores the token retrieved in the web browser
All versions of cf-turnstile-authenticator-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
ext-json Version *
symfony/config Version ^6.3|^7.0
symfony/dependency-injection Version ^6.3|^7.0
symfony/http-client Version ^6.3|^7.0
symfony/http-foundation Version ^6.3|^7.0
symfony/http-kernel Version ^6.3|^7.0
symfony/security-core Version ^6.3|^7.0
symfony/security-http Version ^6.3|^7.0
symfony/uid Version ^6.3|^7.0
symfony/yaml Version ^6.3|^7.0
ext-json Version *
symfony/config Version ^6.3|^7.0
symfony/dependency-injection Version ^6.3|^7.0
symfony/http-client Version ^6.3|^7.0
symfony/http-foundation Version ^6.3|^7.0
symfony/http-kernel Version ^6.3|^7.0
symfony/security-core Version ^6.3|^7.0
symfony/security-http Version ^6.3|^7.0
symfony/uid Version ^6.3|^7.0
symfony/yaml Version ^6.3|^7.0
The package nuvolapl/cf-turnstile-authenticator-bundle contains the following files
Loading the files please wait ....