cors/web-care

CORS - WebCare Integration

Maintainers

Package info

github.com/cors-gmbh/pimcore-webcare

Homepage

Type:pimcore-bundle

pkg:composer/cors/web-care

Transparency log

Statistics

Installs: 43 025

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2026.1.0 2026-07-31 09:27 UTC

README

WebCare - DataReporter Pimcore Integration (https://www.cookiebanner.at/)

Installation

composer require cors/web-care

bin/console pimcore:bundle:enable CORSWebCareBundle
bin/console pimcore:bundle:install CORSWebCareBundle

Pimcore Studio (pimcore/studio-backend-bundle and pimcore/studio-ui-bundle) is a hard requirement: the classic ExtJS admin UI no longer exists in Pimcore 2026, so this bundle ships a Studio UI only.

Configuration

  • Open Pimcore Studio
  • Open System -> Webcare Settings
  • Configure Client ID, Configuration ID and Website ID per Site or for your "Home" Site.

The menu entry is gated on the web_care_settings user permission, which the bundle installer creates. Users without that permission neither see the entry nor may call the API.

Usage in Twig

This bundle provides several ways of integration. It comes with several twig functions:

  • cors_webcare_config Load the corresponding instance of CORS\Bundle\WebCareBundle\Entity\WebCareSite based on the current site you are on. Returns null when no config is set.
  • cors_webcare_cookie_banner_css Gives you the full path to Webcare's banner.css file
  • cors_webcare_cookie_banner_js Gives you the full path to Webcare's banner.js file
  • cors_webcare_cookie_banner Renders the banner.css and banner.js directly
  • cors_webcare_privacy_js Gives you the full path to Webcare's privacystatement.js file
  • cors_webcare_privacy Renders the privacystatement.js directly
  • cors_webcare_privacy_v2_js Gives you the full path to Webcare's privacystatement_v2.js file
  • cors_webcare_privacy_v2 Renders the privacystatement_v2.js directly
  • cors_webcare_imprint_js Gives you the full path to Webcare's imprint.js file
  • cors_webcare_imprint Renders the cors_webcare_imprint_js.js directly
  • cors_webcare_imprint_v2_js Gives you the full path to Webcare's imprint_v2.js file
  • cors_webcare_imprint_v2: Renders the cors_webcare_imprint_v2.js directly
  • cors_webcare_webdoc_v2_js: Gives you the full path to Webcare's webdoc_v2.js file
  • cors_webcare_webdoc_v2: Renders the cors_webcare_webdoc_v2.js directly