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
- Require the package:
composer require pola5h/gdpr-cookie-consent-manager
- Publish assets & config:
php artisan vendor:publish --provider="Pola5h\\GdprCookieConsentManager\\Providers\\GdprCookieServiceProvider" - Run migrations:
php artisan migrate
Usage
- Add
@gdprCookieConsentBlade 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.phpfor 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
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-14