PHPackages                             kreativsoehne/cookieconsent - 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. kreativsoehne/cookieconsent

ActiveContao-bundle

kreativsoehne/cookieconsent
===========================

Abandoned: See readme - Cookieconsent overlay with required optin and ways to block cookies and external resources

3.6.0(1y ago)19741MITPHPPHP ^7 || ^8

Since Jul 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Kreativsoehne/Cookieconsent)[ Packagist](https://packagist.org/packages/kreativsoehne/cookieconsent)[ RSS](/packages/kreativsoehne-cookieconsent/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (33)Used By (0)

Kreativsoehne - Cookieconsent
=============================

[](#kreativsoehne---cookieconsent)

**Abandoned**: This project is no longer maintained and may not be GDPR compliant anymore. We recommend [Consentmanager](https://www.sn-plus.de/cookie-banner) as a much more feature rich and GDPR compliant alternative.

---

Cookie optin with [brainsum/cookieconsent](https://github.com/brainsum/cookieconsent) as the overlay and ways to block cookies and external resources.

**Note**: Version 3 has significant breaking changes and is not compatible with older version. However, if you find bugs or issues within v2 kindly open a [issue](https://github.com/Kreativsoehne/Cookieconsent/issues) with us and we'll see about updating v2 if necessary.

Install
-------

[](#install)

Install through contao-manager or with `composer require kreativsoehne/cookieconsent`.

Run a database update.

Usage
-----

[](#usage)

Several of the basic settings will be available through the root page. In addition it adds a new Backend module allowing you to edit categories and services/cookies as you require.

### Cookieconsent Customization

[](#cookieconsent-customization)

See cookieconsent [documentation](https://github.com/brainsum/cookieconsent/blob/master/readme.md) for further information into specific settings.

#### Default categories &amp; services

[](#default-categories--services)

You can download a database dump [here](https://raw.githubusercontent.com/Kreativsoehne/Cookieconsent/master/sql_dumps/cookieconsent_base.sql) which contains a list of categories and cookies/services which we found to be common enough and GDPR compliant (so far). It contains only english and german translations for the most part, but we'll update them with new languages as we get them (if you'd like to help, kindly open a [issue](https://github.com/Kreativsoehne/Cookieconsent/issues) or [pull request](https://github.com/Kreativsoehne/Cookieconsent/pulls) and we'll update the database dump with your translations). There are also separate dumps for the rootpage configuration, one for each languages: [English](https://raw.githubusercontent.com/Kreativsoehne/Cookieconsent/master/sql_dumps/cookieconsent_rootpage_en.sql) and [German](https://raw.githubusercontent.com/Kreativsoehne/Cookieconsent/master/sql_dumps/cookieconsent_rootpage_de.sql), which contain the basic texts for the cookieconsent layer itself.

You can import these through phpmyadmin and similar. **Note**: Use at your own discretion. Do not import anything into a Live system without testing first!

#### Languages

[](#languages)

Through the template file `cookieconsent_language` several of the frontend languages settings can be customized or additional ones added as required. The format is a basic javascript object.

#### Opening the settings layer

[](#opening-the-settings-layer)

If you require a link/button to open the cookie settings (2nd layer), you can use the content element "Cookieconsent Toggle".

It is also possible to manually render its template:

```
