teppokoivula/cookie-table

A ProcessWire CMS/CMF module for adding a cookie table on your site.

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:pw-module

pkg:composer/teppokoivula/cookie-table

0.0.1 2025-04-05 18:40 UTC

This package is not auto-updated.

Last update: 2025-10-05 19:24:48 UTC


README

Cookie Table is a module for ProcessWire CMS/CMF intended for adding a cookie table on your site, i.e. a list of cookies that your site uses along with key details about each cookie: name, provider (if known), description, duration, and so on.

When installed, Cookie Table adds a "Cookies" page into the admin interface, by default under "Setup". Cookies page provides a simple interface for managing — adding, updating, or removing — listed cookies. On your site you can use the render method to render a prebuilt table of known cookies:

echo $modules->get('CookieTable')->render();

Alternatively you can get a list of cookies as a raw array and render the list any way you prefer:

$cookies = $modules->get('CookieTable')->getCookies();
foreach ($cookies as $cookie) {
	echo "Cookie name: " . $cookie['name'] . "<br>";
}