---
title: "Installation"
manual: "Maagitcookie"
version: "main"
permalink: "https://docs.typo3.org/permalink/maagit/maagitcookie:installation@main"
source: "Installation/Index.rst"
rendered: "2026-11-19T19:59:23+00:00"
---

# Installation {#installation}

## Prerequisites {#installation-prerequisites}

Version `14.3.12` requires PHP `8.2.15` or newer within the PHP 8.x line
accepted by `^8.2.15` and TYPO3 CMS 14. The extension metadata narrows the
supported TYPO3 range to `14.3.12` through `14.99.99`. Required TYPO3
packages include Backend, Extbase, Filelist, Fluid, Fluid Styled Content, and
Frontend.

## Composer installation {#installation-composer}

Install the package and apply the database schema through the normal TYPO3
maintenance workflow:

**Install the extension package**

```bash
composer require maagit/maagitcookie:^14.3.12
```

The schema creates the category and service fields. Composer installation and
database schema changes remain deployment-administrator tasks.

![TYPO3 Extensions module filtered to maagitcookie version 14.3.12](../Images/Backend/InstalledExtension.png)

## TypoScript {#installation-typoscript}

In the root TypoScript record, add **Maagitcookie** through the backend field
**Include TypoScript sets**. This shipped static definition supplies the
template paths and persistence configuration. Do not copy the extension's
constants or setup into the template's **Constants** or **Setup** fields.

## Records and content element {#installation-records}

1.  Create or select an isolated storage page.
1.  Create at least one **Cookieconsent Category** record on it.
1.  Add services inline to the category and configure their blocking patterns.
1.  Add the **Maagit Cookieconsent** content element to the site page.
1.  Select the storage page under **General > Storage Pid**.

The storage page is operationally mandatory. If it is empty in the content
element, the repository deliberately returns no categories.

> [!WARNING]
> Test every regular expression and replacement on a staging site. Patterns
> run against the complete HTML response and can alter unrelated markup when
> they are too broad.
