Download the PHP package systemhaus/contao-cookiebot without Composer

On this page you can find all versions of the php package systemhaus/contao-cookiebot. 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-cookiebot

Contao Cookiebot

This extension for the open source CMS Contao integrates the GDPR compliant cookie consent functionality of Cookiebot into the website frontend.

Caution: Cookiebot is a paid solution. A free plan for small websites is available, but terms can change any time. ETES is not responsible for the Cookiebot service, but only offers this extension as a contribution to the community.

Prerequisites

For using Cookiebot in any website, an API key is required. You can register yourself directly with Cookiebot or choose a reseller.
Special: ETES will give a percentage of the license fee to the Contao Association for every user buying the Cookiebot subscription via us. More info.

Installation

This extension can be installed using the Contao Manager or composer. Simply search for "Cookiebot" or use the command line

As the extension includes new database fields, you need to update the database via the Contao install tool afterwards.

How it works

The extension loads the Cookiebot JS first place in your website's source code. This scripts prevents the browser from setting any cookies before user consent has been granted. By doing this, it complies with EU legislation (GDPR) and court rulings in the matter of cookies.

Secondly, a bar like the one in the screenshot on top is displayed across the content of the website. Colours and texts of this bar can be customized online.

The bar contains an interactive choice dialogue for different kinds of cookies used on your website. Cookiebot automatically detects all kinds of cookies and classifies them. For each cookie, the user can view a description.

After the user has made his choice, the script allows or blocks the cookies accordingly, the bar disappears.

For later changes to the user's choice, a similar form should be included in privacy page of your website. The extension provides a frontend module for this purpose which can be used in any article.

Configuring the extension

For each of your websites (root pages in the page structure) you can enable or disable Cookiebot separately. Cookiebot requires an API key to function. You can enter this key in the page settings.

If the key is valid, the Cookiebot bar is automatically shown in the frontend. Errors with your key would show up in the Javascript console of your browser.

If your website contains a legal or privacy page, you can include the Cookiebot frontend module there. Simply create a new frontend module and insert it into the article of your choice. The frontend module should only be included in a page layout if you know what you're doing!

If you want to perform cookie blocking manually, you can disable automatic cookie blocking in the page settings. Please read the implementation guide of Cookiebot on how to manually mark cookie setting scripts and correctly implement Cookiebot on your website.

If you want to set a fixed language, you can configure a Cookiebot culture (two-letter or three-letter code, e.g. en) in the page settings. Please also read the support instructions.

Caching in Contao >= 4.8

From Contao 4.8 onwards, the new page caching mechanism treats cookies differently than older Contao versions. For caching to work in the desired way, the Cookiebot cookie CookieConsent needs to be included in a global allow list for that environment. Manual action is required.
For details, see COOKIE_ALLOW_LIST in the Developer Documentation.

Support

Authored by: ETES GmbH and community contributors. Thanks a lot!
More information on our website.
For bugs, please create an issue in the tracker.


All versions of contao-cookiebot with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0 || ^8.0
contao/core-bundle Version ~4.4 || ~5.3
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 systemhaus/contao-cookiebot contains the following files

Loading the files please wait ...