pola5h/gdpr-cookie-consent-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

pola5h/gdpr-cookie-consent-manager

Composer 安装命令:

composer require pola5h/gdpr-cookie-consent-manager

包简介

A modern, flexible, and production-ready GDPR Cookie Consent Manager package for Laravel 12.

README 文档

README

A modern, flexible, and production-ready GDPR Cookie Consent Manager package for Laravel 12.

Features

  • Customizable Cookie Consent Banner
  • Consent Logging
  • Admin Panel
  • Auto-blocking of Scripts
  • Localization
  • Easy Integration
  • Geo-targeting (Optional)
  • Artisan Maintenance Commands

Installation

  1. Require the package:
    composer require pola5h/gdpr-cookie-consent-manager
  2. Publish assets & config:
    php artisan vendor:publish --provider="Pola5h\\GdprCookieConsentManager\\Providers\\GdprCookieServiceProvider"
  3. Run migrations:
    php artisan migrate

Usage

  • Add @gdprCookieConsent Blade directive before </body> in your layout.
  • Access admin panel at /gdpr-cookie-admin (configurable).
  • Manage banner, categories, and logs from the admin panel.

Customization

  • Edit config/gdprcookie.php for appearance, categories, and settings.
  • Add or edit translations in lang/{locale}/messages.php.
  • Override views by publishing them and editing in resources/views/vendor/gdprcookie/.

Troubleshooting

  • Ensure you have run migrations and published assets.
  • Check config and language files for missing keys.
  • For help, contact kzaman3055@gmail.com.

Support & Donations

If you find this package useful, please consider supporting its development! See DONATE.md for Binance Pay and crypto donation options.

License

This project is open source under the MIT License. See the LICENSE file for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-14