This Laravel package provides a simple and elegant way to implement cookie consent on your website, ensuring compliance with privacy regulations like GDPR and CCPA. It offers a clean and customizable interface, allowing you to easily manage and display cookie consent banners and preferences.
You can install the package via composer:
composer require jeffersongoncalves/laravel-cookie-consent
Publish config file.
php artisan vendor:publish --tag=cookie-consent-config
Add head template.
@include('cookie-consent::cookie-consent-head')
Add body template.
@include('cookie-consent::cookie-consent-body')
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.