Download the PHP package heimrichhannot/contao-privacy-bundle without Composer

On this page you can find all versions of the php package heimrichhannot/contao-privacy-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package contao-privacy-bundle

Contao Privacy Bundle

This bundle contains functionality concerning privacy and the European Union's "General Data Protection Regulation" ( GDPR, in German: "Datenschutz-Grundverordnung", DSGVO).

Legal disclaimer

Use this bundle at your own risk. Although we as the developer try our best to design this bundle to fulfill the legal requirements we CAN'T GUARANTEE anything in terms completeness and correctness. Also we don't offer any legal consulting. We strongly encourage you to consult a lawyer if you have any questions or concerns.

Features

Installation

  1. Simply install using composer: composer require heimrichhannot/contao-privacy-bundle
  2. Update your database and clear your caches.
  3. Now you have the new menu entry "privacy" in the Contao menu on the left

Export the privacy protocol

Export entries from the privacy protocol as csv or excel is already possible. In order to avail this feature, simply install one of the following composer modules:

composer require heimrichhannot/contao-exporter-bundle

Usage

The privacy protocol

  1. Add a new protocol archive and select the fields you'd like to store (CAUTION: Do NOT store personal data for which you don't have the user's permission!).
  2. Choose one of the following functions for adding new entries programmatically and/or create entries after creating, updating or deleting members automatically.

Create entries on tl_member CRUD actions

You can activate the automated creation of privacy protocol entries for the following tl_member callbacks:

Just open contao's global settings (tl_settings) and configure to your needs in the "privacy" section.

Create entries programmatically

Before you can add new entries to the privacy protocol, create a privacy protocol config (go to the privacy protocol in the backend and click "configurations" on the upper left).

Add a new entry from the context of a module
Add a new entry from the context of a content element

Same as in Add a new entry from the context of a module. Use addEntryFromContentElementByConfig() instead.

Add a new entry from a general context

Same as in Add a new entry from the context of a module. Use addEntryByConfig() instead.

The Protocol Entry Editor

The module ModuleProtocolEntryEditor can be used to create entries in the privacy protocol. Typically you have the following scenarios:

Do a double opt-in for getting an agreement for some action (e.g. send advertising emails)

In this scenario you can:

Do a single opt-out for revoking the agreement for some action (e.g. send advertising emails)

You can do that as you would do a single

The Backend Opt-In Form

Navigate to "opt-in" in the privacy section on the left for sending an opt-in email to a certain email address. The form works as follows:

  1. The information you type into the form is converted into an encrypted JWT token and appended to a prepared link ( created with the insert tag privacy_opt_url) in a notification email.
  2. After the user clicks the link, he is redirected to a page containing the module ModuleProtocolEntryEditor. This module recognizes the JWT parameter and uses it to prefill the form for the user so that he only has to click " Submit".

Insert Tags

Name Arguments Example
privacy_opt_url 1. The data for prefilling the form of ModuleProtocolEntryEditor and for the resulting privacy protocol entry in the format: fieldName1:fieldValue1#fieldName2:fieldValue2
2. The jumpTo page id
3. The data for finding a corresponding database entity to be linked to the protocol entry (reference table and field is defined in the protocol entry editor's backend config): referenceFieldValue (optional)
{{privacy_opt_url::email:[email protected]#firstname:John#lastname:Doe::1::[email protected]}}

All versions of contao-privacy-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
contao/core-bundle Version ^4.9
heimrichhannot/contao-utils-bundle Version ^2.191
heimrichhannot/contao-be_explanation-bundle Version ^2.3
heimrichhannot/contao-formhybrid Version ^3.18
firebase/php-jwt Version ^v4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package heimrichhannot/contao-privacy-bundle contains the following files

Loading the files please wait ....