PHPackages                             femundfilou/kirby-cookie-consent - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. femundfilou/kirby-cookie-consent

ActiveKirby-plugin[Utility &amp; Helpers](/categories/utility)

femundfilou/kirby-cookie-consent
================================

Cookie Consent is a customizable, easy-to-use privacy consent plugin for Kirby CMS.

0.2.0(2y ago)31.4kJavaScript

Since Oct 31Pushed 2y ago2 watchersCompare

[ Source](https://github.com/femundfilou/kirby-cookie-consent)[ Packagist](https://packagist.org/packages/femundfilou/kirby-cookie-consent)[ Docs](https://github.com/femundfilou/kirby-cookie-consent)[ RSS](/packages/femundfilou-kirby-cookie-consent/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Cookie Consent
==============

[](#cookie-consent)

Cookie Consent is a customizable, easy-to-use [Kirby CMS](https://getkirby.com) plugin that manages cookie consents.

Concept
-------

[](#concept)

### Categories

[](#categories)

Cookie Consent uses categories to group single policies (or cookies as you wish). Each category is an object with the following entries.

keytypevalue`id`stringunique string`label`stringLabel visible to the user`description`stringDescription visible to the user### Policies

[](#policies)

A policy needs to be created for each cookie or tool you wish to have user consent for. A policy in an object with the following entries.

keytypevalue`id`stringunique string`label`stringLabel visible to the user`description`stringDescription visible to the user`category`stringmust match with an category idInstallation
------------

[](#installation)

### Via composer

[](#via-composer)

```
composer require femundfilou/kirby-cookie-consent
```

Usage
-----

[](#usage)

1. Add the section to your `site.yml` to get an interface to provide policies and categories.

```
  sections:
    cookieconsent: sections/cookie-consent
```

2. Add this snippet to the footer of your website.

```
