Skip to content

Commit d960232

Browse files
authored
Update README.md
1 parent 6fe7091 commit d960232

File tree

1 file changed

+10
-24
lines changed

1 file changed

+10
-24
lines changed

README.md

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,21 @@
1-
# Make your Laravel app comply with the crazy EU cookie law
1+
# Simple, customizable cookie consent message for Laravel
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/laravel-cookie-consent.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-cookie-consent)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
55
[![run-tests](https://github.com/spatie/laravel-cookie-consent/actions/workflows/run-tests.yml/badge.svg)](https://github.com/spatie/laravel-cookie-consent/actions/workflows/run-tests.yml)
66
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/laravel-cookie-consent.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-cookie-consent)
77

8-
All sites owned by EU citizens or targeted towards EU citizens must comply with a crazy EU law. This law requires a dialog to be displayed to inform the users when you are using _tracking_ cookies. You can read more info on the legislation on [the site of the European Commission](https://commission.europa.eu/resources-partners/europa-web-guide/design-content-and-development/privacy-security-and-legal-notices/cookies-and-similar-technologies_en). Be aware using cookies for a site/web app that is not used for tracking (for example: session cookies) do not fall under this obligation
8+
This package adds a simple, customizable cookie consent message to your site. When the site loads, the banner appears and lets users consent to cookies. Once consent is given, the banner hides and stays hidden.
99

10-
quote:
11-
```
12-
Cookies and similar technologies requiring consent
13-
14-
Cookies and similar technologies that generally DO need consent
15-
16-
Social plug-in tracking mechanisms
17-
Third party advertising cookies
18-
Analytics cookies (except for the exemption described further below)
10+
**What this package does not:**
11+
- Include an option to 'Decline' all cookies, which might be required.
12+
- Block trackers and cookies before consent. You need to handle this yourself.
13+
- Include options for different consent categories like "Necessary" or "Marketing".
1914

20-
Cookies and similar technologies that generally do NOT need consent
21-
22-
User entrada cookies, for the duration of a session
23-
Authentication cookies, for the duration of a session
24-
User centric security cookies, used to detect authentication abuses and linked to the functionality explicitly requested by the user, for a limited persistent duration
25-
Multimedia content player session cookies, such as flash player cookies, for the duration of a session
26-
Load balancing session cookies, for the duration of a session
27-
User interface customisation cookies, for a browser session or a pocos hours, unless additional information in a prominent location is provided (e.g. “uses cookies” written next to the customisation feature)
28-
```
29-
30-
This package provides an easily configurable view to display the message. Also included is JavaScript code to set a cookie when a user agrees with the cookie policy. The package will not display the dialog when that cookie has been set.
15+
For more advanced cookie consent options in Laravel, consider these alternatives.
3116

32-
Spatie is a web design agency based in Antwerp, Belgium. You'll find an overview of all our open source projects [on our website](https://spatie.be/opensource).
17+
- [whitecube/laravel-cookie-consent](https://github.com/whitecube/laravel-cookie-consent)
18+
- [statikbe/laravel-cookie-consent](https://github.com/statikbe/laravel-cookie-consent)
3319

3420
## Support us
3521

@@ -148,7 +134,7 @@ class Kernel extends HttpKernel
148134
This will automatically add `cookie-consent::index` to the content of your response right before the closing body tag.
149135

150136
## Notice
151-
The legislation is pretty very vague on how to display the warning, which texts are necessary, and what options you need to provide. This package will go a long way towards compliance, but if you want to be 100% sure that your website is ok, you should consult a legal expert.
137+
We are not lawyers and can't provide legal advice. Consult legal professionals what rules apply to your project.
152138

153139
## Changelog
154140

0 commit comments

Comments
 (0)