Download the PHP package pixelopen/sulu-gdprbundle without Composer
On this page you can find all versions of the php package pixelopen/sulu-gdprbundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pixelopen/sulu-gdprbundle
More information about pixelopen/sulu-gdprbundle
Files in pixelopen/sulu-gdprbundle
Package sulu-gdprbundle
Short Description GDPR tools for Sulu
License MIT
Homepage https://github.com/Pixel-Open/sulu-gdprbundle
Informations about the package sulu-gdprbundle
Sulu GDPR bundle
Presentation
A Sulu bundle to easily manage the GDPR. It also allows you to manage the consent banner by using the Tarteaucitron consent management system.
Requirements
- PHP >= 8.0
- Sulu >= 2.5.*
- Symfony >= 5.4
- Composer
Installation
Install the bundle
Execute the following composer command to add the bundle to the dependencies of your project:
Enable the bundle
Enable the bundle by adding it to the list of registered bundles in the config/bundles.php
file of your project:
Update schema (for dev environnement)
Bundle Config
Define the Admin Api Route in routes_admin.yaml
Use
The bundle is only composed of the settings, which make the management of the GDPR very easy.
To use the GDPR management of the bundle, just check the "Use cookies management?". All the other options should be display.
The Services section will take care to manage the different cookies scripts.
The Parameters section will help you manage the Tarteaucitron banner, which displays the consent banner. There are plenty of parameters, so don't hesitate to visit the repository of Tarteaucitron.
Twig extension
The bundle comes with two twig functions:
gdpr_settings(): returns the settings of the bundle. No parameters are required.
Example of use:
gdprScripts(): renders the consent banner. No parameters are required.
Example of use:
Contributing
You can contribute to this bundle. The only thing you must do is respect the coding standard we implements.
You can find them in the ecs.php
file.
All versions of sulu-gdprbundle with dependencies
sulu/sulu Version ^2.4
symfony/config Version ^5.0 || ^6.0
symfony/dependency-injection Version ^5.0 || ^6.0
symfony/framework-bundle Version ^5.0 || ^6.0
symfony/http-foundation Version ^5.0 || ^6.0
symfony/http-kernel Version ^5.0 || ^6.0