According to the GDPR law, every platform is required to allow the users to decide which cookie categories they will allow. If a cookie category is not permitted, the application should not use the functionality tied to that cookie. This plugin provides a simple cookie consent window through which the user can specify the cookies they would like to allow. After the user submission, the page reloads and the relevant cookies are set on the browser, and can then be used in the front end.
For example, An application that wants to load the Google Analytics script only if the user has given their consent to the targeting cookie category might do the following: google-analytics.blade.php @if(isset($_COOKIE[config('cookies_consent.cookie_prefix') .