digitalastronaut / craft-cookie-banner
A fully customizeable and GDPR compliant cookie banner for Craft CMS
Package info
github.com/digitalastronaut-be/craft-cookie-banner
Type:craft-plugin
pkg:composer/digitalastronaut/craft-cookie-banner
Requires
- php: >=8.2
- craftcms/cms: ^5.8.0
- loilo/fuse: ^7.0.0
- nesbot/carbon: ^2.73
- nystudio107/craft-code-editor: ^1.0
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
This package is auto-updated.
Last update: 2026-04-30 10:27:23 UTC
README
This plugin provides a fully featured toolset for managing cookies and displaying a GDPR compliant cookie banner on your website.
Requirements
This plugin requires Craft CMS 5.8.0 or later, and PHP 8.2 or later.
Installation
You can install this plugin from the Plugin Store or with Composer.
From the Plugin Store
Go to the Plugin Store in your project’s Control Panel and search for “Cookie banner”. Then press “Install”.
With Composer
Open your terminal and run the following commands:
# go to the project directory cd /path/to/my-project # tell Composer to load the plugin composer require digitalastronaut/craft-cookie-banner # tell Craft to install the plugin php craft plugin/install cookie-banner
This plugin provides a fully featured toolset for managing cookie consent and displaying a GDPR compliant banner on your website. It brings the same powerfull features as many premium CMP's whilst being seamlessly integrated into the Craft CMS control panel.
Features
- Native multi-site support and translations
- No config files or coding required. Fully configurable from the control panel
- Contains a database of 4000+ cookies and vendors translated in 7 languages (NL, EN, ES, IT, FR, DE, PL)
- Bulk insert and automated categorization of cookies and vendors
- Automated scans and suggestions
- Customize the UI from the control panel for each site
- Consent records with automatic cleanup
- 0 Dependencies 18.7 KiB (~6.5 KiB gzip) JS bundle
- Dashboard with consent statistics
- Twig helper for generating cookie tables
- Google V2 Consent & Custom JS events support
- Cookie/vendor blacklist
| Feature | Our Plugin | CMP |
|---|---|---|
| Access | Directly integrated within the Craft CMS control panel | External, outside the CMS |
| Site support | Multi-site support | Single site only |
| Branding | Fully customizable, no third-party branding | Third-party branding/contributions included |
| Pricing | Simple flat annual fee | Variable cost based on traffic and number of pages |