定制 teppokoivula/cookie-table 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

teppokoivula/cookie-table

最新稳定版本:0.0.1

Composer 安装命令:

composer require teppokoivula/cookie-table

包简介

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

README 文档

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>";
}

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MPL-2.0
  • 更新时间: 2025-04-05