Skip to content
/ GDPR Public

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

License

Notifications You must be signed in to change notification settings

Pola5h/GDPR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDPR Cookie Consent Manager for Laravel 12

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 [email protected].

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published